Returns an integer representing true, as defined by the TargetBooleanContents.
Declared in <llvm/CodeGen/GlobalISel/Utils.h>
int64_t
getICmpTrueVal(
TargetLowering const& TLI,
bool IsVector,
bool IsFP);
The integer encoding of true for icmp results.
| Name | Description |
|---|---|
| TLI | Target lowering used for boolean contents. |
| IsVector | Whether the compare result is a vector. |
| IsFP | Whether the compare is floating-point. |