NoFolder ‐ Create "constants" (actually, instructions) with no folding.
Synopsis
Declared in <llvm/IR/NoFolder.h>
class NoFolder final
: public IRBuilderFolder
Base Classes
Name |
Description |
IRBuilderFolder ‐ Interface for constant folding in IRBuilder. |
Member Functions
Name |
Description |
|
Construct a folder that never folds constants. |
|
Create a bitcast or addrspacecast of constant pointer |
|
Create a pointer cast of constant |
|
Decline to fold a binary operator; always returns nullptr. |
|
Decline to fold a binary operator with fast‐math flags; always returns nullptr. |
|
Decline to fold a cast; always returns nullptr. |
|
Decline to fold a compare; always returns nullptr. |
|
Decline to fold an exact binary operator; always returns nullptr. |
|
Decline to fold an extractelement; always returns nullptr. |
|
Decline to fold an extractvalue; always returns nullptr. |
|
Decline to fold a GEP; always returns nullptr. |
|
Decline to fold an insertelement; always returns nullptr. |
|
Decline to fold an insertvalue; always returns nullptr. |
|
|
|
Decline to fold a no‐wrap binary operator; always returns nullptr. |
|
|
|
Decline to fold a shufflevector; always returns nullptr. |
|
Decline to fold a unary operator with fast‐math flags; always returns nullptr. |
Created with MrDocs