llvm::IRBuilderBase::Insert

Insert overloads

Synopses

Declared in <llvm/IR/IRBuilder.h>

No-op overload to handle constants.

Constant*
Insert(
    Constant* C,
    Twine const& Name = "") const;
» more...

Insert a value using the current inserter.

Value*
Insert(
    Value* V,
    Twine const& Name = "") const;
» more...

Insert and return the specified instruction.

template<typename InstTy>
InstTy*
Insert(
    InstTy* I,
    Twine const& Name = "") const;
» more...

Return Value

  • The inserted instruction or value.
  • The inserted instruction.

Parameters

NameDescription
CLLVM context, or integer constant value.
NameName of the new instruction or value.
VInput value.
IInstruction to insert at the current insertion point.