Searched refs:InsertBefore (Results 1 - 17 of 17) sorted by relevance

/freebsd-10-stable/contrib/llvm/lib/IR/
H A DInstructions.cpp182 Instruction *InsertBefore)
183 : Instruction(RetTy, Instruction::LandingPad, 0, 0, InsertBefore) {
212 Instruction *InsertBefore) {
214 InsertBefore);
303 Instruction *InsertBefore)
308 1, InsertBefore) {
371 static Instruction *createMalloc(Instruction *InsertBefore, argument
376 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) &&
377 "createMalloc needs either InsertBefore o
180 LandingPadInst(Type *RetTy, Value *PersonalityFn, unsigned NumReservedValues, const Twine &NameStr, Instruction *InsertBefore) argument
209 Create(Type *RetTy, Value *PersonalityFn, unsigned NumReservedClauses, const Twine &NameStr, Instruction *InsertBefore) argument
302 CallInst(Value *Func, const Twine &Name, Instruction *InsertBefore) argument
456 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function * MallocF, const Twine &Name) argument
481 createFree(Value* Source, Instruction *InsertBefore, BasicBlock *InsertAtEnd) argument
514 CreateFree(Value* Source, Instruction *InsertBefore) argument
625 ReturnInst(LLVMContext &C, Value *retVal, Instruction *InsertBefore) argument
671 ResumeInst(Value *Exn, Instruction *InsertBefore) argument
699 UnreachableInst(LLVMContext &Context, Instruction *InsertBefore) argument
731 BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) argument
738 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, Instruction *InsertBefore) argument
834 AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, Instruction *InsertBefore) argument
852 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
870 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, Instruction *InsertBefore) argument
1090 StoreInst(Value *val, Value *addr, Instruction *InsertBefore) argument
1116 StoreInst(Value *val, Value *addr, bool isVolatile, Instruction *InsertBefore) argument
1130 StoreInst(Value *val, Value *addr, bool isVolatile, unsigned Align, Instruction *InsertBefore) argument
1144 StoreInst(Value *val, Value *addr, bool isVolatile, unsigned Align, AtomicOrdering Order, SynchronizationScope SynchScope, Instruction *InsertBefore) argument
1240 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, AtomicOrdering Ordering, SynchronizationScope SynchScope, Instruction *InsertBefore) argument
1286 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, AtomicOrdering Ordering, SynchronizationScope SynchScope, Instruction *InsertBefore) argument
1312 FenceInst(LLVMContext &C, AtomicOrdering Ordering, SynchronizationScope SynchScope, Instruction *InsertBefore) argument
1528 ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, const Twine &Name, Instruction *InsertBefore) argument
1732 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
1834 Create(BinaryOps Op, Value *S1, Value *S2, const Twine &Name, Instruction *InsertBefore) argument
1850 CreateNeg(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
1866 CreateNSWNeg(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
1878 CreateNUWNeg(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
1890 CreateFNeg(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
1904 CreateNot(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
2350 Create(Instruction::CastOps op, Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2394 CreateZExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2410 CreateSExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2426 CreateTruncOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2464 CreatePointerCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2485 CreateIntegerCast(Value *C, Type *Ty, bool isSigned, const Twine &Name, Instruction *InsertBefore) argument
2513 CreateFPCast(Value *C, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
3008 CmpInst(Type *ty, OtherOps op, unsigned short predicate, Value *LHS, Value *RHS, const Twine &Name, Instruction *InsertBefore) argument
3035 Create(OtherOps Op, unsigned short predicate, Value *S1, Value *S2, const Twine &Name, Instruction *InsertBefore) argument
3307 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, Instruction *InsertBefore) argument
3438 IndirectBrInst(Value *Address, unsigned NumCases, Instruction *InsertBefore) argument
[all...]
H A DBasicBlock.cpp43 BasicBlock *InsertBefore)
49 if (InsertBefore) {
52 NewParent->getBasicBlockList().insert(InsertBefore, this);
303 BasicBlock *InsertBefore = llvm::next(Function::iterator(this)) local
306 getParent(), InsertBefore);
42 BasicBlock(LLVMContext &C, const Twine &Name, Function *NewParent, BasicBlock *InsertBefore) argument
H A DInstruction.cpp25 Instruction *InsertBefore)
31 if (InsertBefore) {
32 assert(InsertBefore->getParent() &&
34 InsertBefore->getParent()->getInstList().insert(InsertBefore, this);
24 Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, Instruction *InsertBefore) argument
H A DDIBuilder.cpp1204 Instruction *InsertBefore) {
1212 return CallInst::Create(DeclareFn, Args, "", InsertBefore);
1237 Instruction *InsertBefore) {
1247 return CallInst::Create(ValueFn, Args, "", InsertBefore);
1203 insertDeclare(Value *Storage, DIVariable VarInfo, Instruction *InsertBefore) argument
1235 insertDbgValueIntrinsic(Value *V, uint64_t Offset, DIVariable VarInfo, Instruction *InsertBefore) argument
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
H A DInstrTypes.h39 Instruction *InsertBefore = 0)
40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {}
143 const Twine &Name, Instruction *InsertBefore);
163 Instruction *InsertBefore = 0);
288 Instruction *InsertBefore = 0);
292 Instruction *InsertBefore = 0);
296 Instruction *InsertBefore = 0);
300 Instruction *InsertBefore = 0);
304 Instruction *InsertBefore = 0);
392 const Twine &NameStr = "", Instruction *InsertBefore
[all...]
H A DInstructions.h63 const Twine &Name = "", Instruction *InsertBefore = 0);
67 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = 0);
71 const Twine &Name = "", Instruction *InsertBefore = 0);
141 LoadInst(Value *Ptr, const Twine &NameStr, Instruction *InsertBefore);
144 Instruction *InsertBefore = 0);
148 unsigned Align, Instruction *InsertBefore = 0);
154 Instruction *InsertBefore = 0);
160 LoadInst(Value *Ptr, const char *NameStr, Instruction *InsertBefore);
163 bool isVolatile = false, Instruction *InsertBefore = 0);
265 StoreInst(Value *Val, Value *Ptr, Instruction *InsertBefore);
876 GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument
929 ICmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument
1061 FCmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument
1408 CallInst(Value *Func, ArrayRef<Value *> Args, const Twine &NameStr, Instruction *InsertBefore) argument
1438 SelectInst(Value *C, Value *S1, Value *S2, const Twine &NameStr, Instruction *InsertBefore) argument
1821 ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) argument
1947 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) argument
[all...]
H A DBasicBlock.h90 /// inserted at either the end of the function (if InsertBefore is null), or
93 Function *Parent = 0, BasicBlock *InsertBefore = 0);
107 /// inserted at either the end of the function (if InsertBefore is 0), or
110 Function *Parent = 0,BasicBlock *InsertBefore = 0) {
111 return new BasicBlock(Context, Name, Parent, InsertBefore);
H A DGlobalVariable.h76 const Twine &Name = "", GlobalVariable *InsertBefore = 0,
H A DInstruction.h446 Instruction *InsertBefore = 0);
/freebsd-10-stable/contrib/llvm/lib/Target/ARM/
H A DA15SDOptimizer.cpp71 MachineBasicBlock::iterator InsertBefore,
77 MachineBasicBlock::iterator InsertBefore,
83 MachineBasicBlock::iterator InsertBefore,
88 MachineBasicBlock::iterator InsertBefore,
93 MachineBasicBlock::iterator InsertBefore,
98 MachineBasicBlock::iterator InsertBefore,
433 MachineBasicBlock::iterator InsertBefore,
439 InsertBefore,
452 MachineBasicBlock::iterator InsertBefore,
458 InsertBefore,
432 createDupLane(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, DebugLoc DL, unsigned Reg, unsigned Lane, bool QPR) argument
451 createExtractSubreg(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, DebugLoc DL, unsigned DReg, unsigned Lane, const TargetRegisterClass *TRC) argument
468 createRegSequence(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, DebugLoc DL, unsigned Reg1, unsigned Reg2) argument
487 createVExt(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, DebugLoc DL, unsigned Ssub0, unsigned Ssub1) argument
503 createInsertSubreg(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, DebugLoc DL, unsigned DReg, unsigned Lane, unsigned ToInsert) argument
520 createImplicitDef(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, DebugLoc DL) argument
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/
H A DValueTracking.h111 /// If InsertBefore is not null, this function will duplicate (modified)
115 Instruction *InsertBefore = 0);
/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp304 void instrumentAddress(Instruction *OrigIns, Instruction *InsertBefore,
309 Instruction *generateCrashCode(Instruction *InsertBefore, Value *Addr,
315 Instruction *InsertBefore, bool IsWrite);
607 Value *Addr, Value *Size, Instruction *InsertBefore, bool IsWrite) {
608 IRBuilder<> IRB(InsertBefore);
612 instrumentAddress(OrigIns, InsertBefore, Addr, 8, IsWrite, Size);
614 IRB.SetInsertPoint(InsertBefore);
618 instrumentAddress(OrigIns, InsertBefore, AddrLast, 8, IsWrite, Size);
629 Instruction *InsertBefore = MI; local
634 IRBuilder<> IRB(InsertBefore);
605 instrumentMemIntrinsicParam( Instruction *OrigIns, Value *Addr, Value *Size, Instruction *InsertBefore, bool IsWrite) argument
746 generateCrashCode( Instruction *InsertBefore, Value *Addr, bool IsWrite, size_t AccessSizeIndex, Value *SizeArgument) argument
779 instrumentAddress(Instruction *OrigIns, Instruction *InsertBefore, Value *Addr, uint32_t TypeSize, bool IsWrite, Value *SizeArgument) argument
[all...]
/freebsd-10-stable/contrib/llvm/lib/Analysis/
H A DValueTracking.cpp1555 Instruction *InsertBefore) {
1566 InsertBefore);
1596 "tmp", InsertBefore);
1610 // All inserted insertvalue instructions are inserted before InsertBefore
1612 Instruction *InsertBefore) {
1613 assert(InsertBefore && "Must have someplace to insert!");
1620 return BuildSubAggregate(From, To, IndexedType, Idxs, IdxSkip, InsertBefore);
1627 /// If InsertBefore is not null, this function will duplicate (modified)
1630 Instruction *InsertBefore) {
1644 return FindInsertedValue(C, idx_range.slice(1), InsertBefore);
1552 BuildSubAggregate(Value *From, Value* To, Type *IndexedType, SmallVectorImpl<unsigned> &Idxs, unsigned IdxSkip, Instruction *InsertBefore) argument
1611 BuildSubAggregate(Value *From, ArrayRef<unsigned> idx_range, Instruction *InsertBefore) argument
1629 FindInsertedValue(Value *V, ArrayRef<unsigned> idx_range, Instruction *InsertBefore) argument
[all...]
/freebsd-10-stable/contrib/llvm/include/llvm/
H A DDIBuilder.h671 /// @param InsertBefore Location for the new intrinsic.
673 Instruction *InsertBefore);
689 /// @param InsertBefore Location for the new intrinsic.
692 Instruction *InsertBefore);
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombine.h120 Instruction *InsertBefore);
H A DInstCombineMulDivRem.cpp358 Instruction *InsertBefore) {
399 InsertNewInstWith(R, *InsertBefore);
357 foldFMulConst(Instruction *FMulOrDiv, ConstantFP *C, Instruction *InsertBefore) argument
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp1127 static Value *createAndInstr(Instruction *InsertBefore, Value *Opnd,
1134 "and.ra", InsertBefore);
1135 I->setDebugLoc(InsertBefore->getDebugLoc());

Completed in 301 milliseconds