FoldIntrinsic overloads
Declared in <llvm/IR/IRBuilderFolder.h>
Fold an intrinsic call if it can be simplified.
virtual
Value*
FoldIntrinsic(
Intrinsic::ID ID,
ArrayRef<Value*> Ops,
Type* Ty,
FastMathFlags FMF = {},
Function* CtxF = nullptr) const = 0;
» more...
Fold an intrinsic call with target-dependent constant folding.
virtual
Value*
FoldIntrinsic(
Intrinsic::ID ID,
ArrayRef<Value*> Ops,
Type* Ty,
FastMathFlags FMF = {},
Function* CxtF = nullptr) const override;
» more...
| Name | Description |
|---|---|
| ID | The intrinsic identifier. |
| Ops | The intrinsic operands. |
| Ty | The result type of the intrinsic. |
| FMF | Fast-math flags for the call. |
| CtxF | Optional context function for the intrinsic. |
| CxtF | Optional context function for the intrinsic. |