TargetFolder ‐ Create constants with target dependent folding.
Synopsis
Declared in <llvm/Analysis/TargetFolder.h>
class TargetFolder final
: public IRBuilderFolder
Base Classes
Name |
Description |
IRBuilderFolder ‐ Interface for constant folding in IRBuilder. |
Member Functions
Name |
Description |
|
Construct a folder that creates constants with target‐dependent folding. |
|
Create a bitcast or addrspacecast of constant pointer |
|
Create a pointer cast of constant |
|
Fold a binary operator with target‐dependent constant folding. |
|
Fold a binary operator with fast‐math flags via target‐dependent folding. |
|
Fold a cast with target‐dependent constant folding. |
|
Fold a compare with target‐dependent constant folding. |
|
Fold an exact binary operator with target‐dependent constant folding. |
|
Fold an extractelement with target‐dependent constant folding. |
|
Fold an extractvalue with target‐dependent constant folding. |
|
Fold a GEP with target‐dependent constant folding. |
|
Fold an insertelement with target‐dependent constant folding. |
|
Fold an insertvalue with target‐dependent constant folding. |
|
Fold an intrinsic call with target‐dependent constant folding. |
|
Fold a no‐wrap binary operator with target‐dependent constant folding. |
|
Fold a select with target‐dependent constant folding. |
|
Fold a shufflevector with target‐dependent constant folding. |
|
Fold a unary operator with fast‐math flags via target‐dependent folding. |
Created with MrDocs