Namespace for SSA/intrinsic helpers used by GenericSSAContext.

Types

Name

Description

IITDescriptor

This is a type descriptor which explains the type requirements of an intrinsic. This is returned by getIntrinsicInfoTableEntries.

Type Aliases

Name

Description

ID

Identifier for an LLVM intrinsic function.

ID

Unique identifier for an LLVM intrinsic.

ID

Opaque intrinsic identifier used by constrained FP helpers in this header.

ID

Unique identifier for an LLVM intrinsic.

ID

Unique identifier for an LLVM intrinsic.

ID

Unique identifier for an LLVM intrinsic.

Enums

Name

Description

IndependentIntrinsics

Enumeration of target‐independent intrinsic function IDs.

Functions

Name

Description

getAllDefaultArgValues

Return the default‐argument index and values for intrinsic IID.

getAttributes

Return the attributes for an intrinsic.

getBaseName

Return the LLVM name for an intrinsic, without encoded types for overloading, such as "llvm.ssa.copy".

getDeclarationIfExists

getDeclarationIfExists overloads

getDeinterleaveIntrinsicID

Returns the corresponding llvm.vector.deinterleaveN intrinsic for factor N.

getFnAttributes

Return the function attributes for an intrinsic.

getInterleaveIntrinsicID

Returns the corresponding llvm.vector.interleaveN intrinsic for factor N.

getIntrinsicForClangBuiltin

Map a Clang builtin name to an intrinsic ID.

getIntrinsicForMSBuiltin

Map a MS builtin name to an intrinsic ID.

getIntrinsicInfoTableEntries

Fill the IIT table descriptors for an intrinsic into T.

getName

getName overloads

getNameNoUnnamedTypes

Return the LLVM name for an intrinsic overloaded on named types only.

getOrInsertDeclaration

getOrInsertDeclaration overloads

getRequiredTargetFeatures

Return the target feature expression required by an intrinsic.

getType

Return the function type for an intrinsic.

hasConstrainedFPRoundingModeOperand

Returns true if the intrinsic ID is for one of the "Constrained Floating‐Point Intrinsics" that take rounding mode metadata.

hasPrettyPrintedArgs

Returns true if the intrinsic has pretty printed immediate arguments.

hasStructReturnType

Returns true if id has a struct return type.

isConstrainedFPIntrinsic

Returns true if the intrinsic ID is for one of the "Constrained Floating‐Point Intrinsics".

isOverloaded

Returns true if the intrinsic can be overloaded.

isSignatureValid

isSignatureValid overloads

isTargetIntrinsic

isTargetIntrinsic ‐ Returns true if IID is an intrinsic specific to a certain target. If it is a generic intrinsic false is returned.

isTriviallyScalarizable

Returns true if the intrinsic is trivially scalarizable.

lookupIntrinsicID

Look up an intrinsic ID by its name string.

printFPClassMask

Print an immediate floating‐point class mask constant.

printImmArg

Print the argument info for the arguments with ArgInfo.

remangleIntrinsicFunction

Remangle an intrinsic if its name does not match its signature.

Created with MrDocs