IRBuilderFolder ‐ Interface for constant folding in IRBuilder.
Synopsis
Declared in <llvm/IR/IRBuilderFolder.h>
class IRBuilderFolder;
Member Functions
Name |
Description |
|
Destroy the IRBuilderFolder. |
|
Create a bitcast or addrspacecast of constant pointer |
|
Create a pointer cast of constant |
|
Fold a binary operator if it can be simplified. |
|
Fold a binary operator with fast‐math flags if it can be simplified. |
|
Fold a cast if it can be simplified. |
|
Fold a compare if it can be simplified. |
|
Fold an exact binary operator if it can be simplified. |
|
Fold an extractelement if it can be simplified. |
|
Fold an extractvalue if it can be simplified. |
|
Fold a GEP if it can be simplified. |
|
Fold an insertelement if it can be simplified. |
|
Fold an insertvalue if it can be simplified. |
|
Fold an intrinsic call if it can be simplified. |
|
Fold a no‐wrap binary operator if it can be simplified. |
|
Fold a select if it can be simplified. |
|
Fold a shufflevector if it can be simplified. |
|
Fold a unary operator with fast‐math flags if it can be simplified. |
Derived Classes
Name |
Description |
ConstantFolder ‐ Create constants with minimum, target independent, folding. |
|
InstSimplifyFolder ‐ Fold IRBuilder operations via InstructionSimplify. |
|
NoFolder ‐ Create "constants" (actually, instructions) with no folding. |
|
TargetFolder ‐ Create constants with target dependent folding. |
Created with MrDocs