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

12

/external/llvm/include/llvm/IR/
H A DInstructions.h62 Instruction *InsertBefore = nullptr);
66 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = nullptr);
70 const Twine &Name = "", Instruction *InsertBefore = nullptr);
173 LoadInst(Value *Ptr, const Twine &NameStr, Instruction *InsertBefore);
176 Instruction *InsertBefore = nullptr);
178 Instruction *InsertBefore = nullptr)
180 NameStr, isVolatile, InsertBefore) {}
184 Instruction *InsertBefore = nullptr)
186 NameStr, isVolatile, Align, InsertBefore) {}
188 unsigned Align, Instruction *InsertBefore
1055 GetElementPtrInst(Type *PointeeType, Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument
1115 ICmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument
1249 FCmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument
1373 CallInst(Value *Func, ArrayRef<Value *> Args, ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr, Instruction *InsertBefore) argument
1380 CallInst(Value *Func, ArrayRef<Value *> Args, const Twine &NameStr, Instruction *InsertBefore) argument
1882 CallInst(FunctionType *Ty, Value *Func, ArrayRef<Value *> Args, ArrayRef<OperandBundleDef> Bundles, const Twine &NameStr, Instruction *InsertBefore) argument
1912 SelectInst(Value *C, Value *S1, Value *S2, const Twine &NameStr, Instruction *InsertBefore) argument
2315 ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) argument
2447 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) argument
3410 InvokeInst(Value *Func, BasicBlock *IfNormal, BasicBlock *IfException, ArrayRef<Value *> Args, ArrayRef<OperandBundleDef> Bundles, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument
3863 InvokeInst(FunctionType *Ty, Value *Func, BasicBlock *IfNormal, BasicBlock *IfException, ArrayRef<Value *> Args, ArrayRef<OperandBundleDef> Bundles, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument
4160 CatchPadInst(Value *CatchSwitch, ArrayRef<Value *> Args, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument
[all...]
H A DInstrTypes.h42 Instruction *InsertBefore = nullptr)
43 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {}
334 const Twine &Name, Instruction *InsertBefore);
358 Instruction *InsertBefore = nullptr);
491 Instruction *InsertBefore = nullptr);
495 Instruction *InsertBefore = nullptr);
499 Instruction *InsertBefore = nullptr);
503 Instruction *InsertBefore = nullptr);
507 Instruction *InsertBefore = nullptr);
570 const Twine &NameStr = "", Instruction *InsertBefore
[all...]
H A DBasicBlock.h71 /// inserted at either the end of the function (if InsertBefore is null), or
75 BasicBlock *InsertBefore = nullptr);
89 /// inserted at either the end of the function (if InsertBefore is 0), or
93 BasicBlock *InsertBefore = nullptr) {
94 return new BasicBlock(Context, Name, Parent, InsertBefore);
182 /// Inserts an unlinked basic block into \c Parent. If \c InsertBefore is
186 void insertInto(Function *Parent, BasicBlock *InsertBefore = nullptr);
H A DGlobalVariable.h63 const Twine &Name = "", GlobalVariable *InsertBefore = nullptr,
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DInstructions.cpp175 Instruction *InsertBefore)
176 : Instruction(RetTy, Instruction::LandingPad, 0, 0, InsertBefore) {
205 Instruction *InsertBefore) {
207 InsertBefore);
296 Instruction *InsertBefore)
301 1, InsertBefore) {
353 static Instruction *createMalloc(Instruction *InsertBefore, argument
358 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) &&
359 "createMalloc needs either InsertBefore o
173 LandingPadInst(Type *RetTy, Value *PersonalityFn, unsigned NumReservedValues, const Twine &NameStr, Instruction *InsertBefore) argument
202 Create(Type *RetTy, Value *PersonalityFn, unsigned NumReservedClauses, const Twine &NameStr, Instruction *InsertBefore) argument
295 CallInst(Value *Func, const Twine &Name, Instruction *InsertBefore) argument
438 CreateMalloc(Instruction *InsertBefore, Type *IntPtrTy, Type *AllocTy, Value *AllocSize, Value *ArraySize, Function * MallocF, const Twine &Name) argument
463 createFree(Value* Source, Instruction *InsertBefore, BasicBlock *InsertAtEnd) argument
496 CreateFree(Value* Source, Instruction *InsertBefore) argument
597 ReturnInst(LLVMContext &C, Value *retVal, Instruction *InsertBefore) argument
638 UnwindInst(LLVMContext &Context, Instruction *InsertBefore) argument
671 ResumeInst(Value *Exn, Instruction *InsertBefore) argument
700 UnreachableInst(LLVMContext &Context, Instruction *InsertBefore) argument
733 BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) argument
740 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, Instruction *InsertBefore) argument
836 AllocaInst(Type *Ty, Value *ArraySize, const Twine &Name, Instruction *InsertBefore) argument
854 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
872 AllocaInst(Type *Ty, Value *ArraySize, unsigned Align, const Twine &Name, Instruction *InsertBefore) argument
1092 StoreInst(Value *val, Value *addr, Instruction *InsertBefore) argument
1118 StoreInst(Value *val, Value *addr, bool isVolatile, Instruction *InsertBefore) argument
1132 StoreInst(Value *val, Value *addr, bool isVolatile, unsigned Align, Instruction *InsertBefore) argument
1146 StoreInst(Value *val, Value *addr, bool isVolatile, unsigned Align, AtomicOrdering Order, SynchronizationScope SynchScope, Instruction *InsertBefore) argument
1242 AtomicCmpXchgInst(Value *Ptr, Value *Cmp, Value *NewVal, AtomicOrdering Ordering, SynchronizationScope SynchScope, Instruction *InsertBefore) argument
1288 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, AtomicOrdering Ordering, SynchronizationScope SynchScope, Instruction *InsertBefore) argument
1314 FenceInst(LLVMContext &C, AtomicOrdering Ordering, SynchronizationScope SynchScope, Instruction *InsertBefore) argument
1524 ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, const Twine &Name, Instruction *InsertBefore) argument
1690 BinaryOperator(BinaryOps iType, Value *S1, Value *S2, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
1792 Create(BinaryOps Op, Value *S1, Value *S2, const Twine &Name, Instruction *InsertBefore) argument
1808 CreateNeg(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
1824 CreateNSWNeg(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
1836 CreateNUWNeg(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
1848 CreateFNeg(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
1864 CreateNot(Value *Op, const Twine &Name, Instruction *InsertBefore) argument
2248 Create(Instruction::CastOps op, Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2294 CreateZExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2310 CreateSExtOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2326 CreateTruncOrBitCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2355 CreatePointerCast(Value *S, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2367 CreateIntegerCast(Value *C, Type *Ty, bool isSigned, const Twine &Name, Instruction *InsertBefore) argument
2395 CreateFPCast(Value *C, Type *Ty, const Twine &Name, Instruction *InsertBefore) argument
2813 CmpInst(Type *ty, OtherOps op, unsigned short predicate, Value *LHS, Value *RHS, const Twine &Name, Instruction *InsertBefore) argument
2840 Create(OtherOps Op, unsigned short predicate, Value *S1, Value *S2, const Twine &Name, Instruction *InsertBefore) argument
3112 SwitchInst(Value *Value, BasicBlock *Default, unsigned NumCases, Instruction *InsertBefore) argument
3242 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.cpp24 Instruction *InsertBefore)
30 if (InsertBefore) {
31 assert(InsertBefore->getParent() &&
33 InsertBefore->getParent()->getInstList().insert(InsertBefore, this);
23 Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, Instruction *InsertBefore) argument
/external/swiftshader/third_party/LLVM/include/llvm/
H A DInstrTypes.h39 Instruction *InsertBefore = 0)
40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {}
145 const Twine &Name, Instruction *InsertBefore);
165 Instruction *InsertBefore = 0);
290 Instruction *InsertBefore = 0);
294 Instruction *InsertBefore = 0);
298 Instruction *InsertBefore = 0);
302 Instruction *InsertBefore = 0);
306 Instruction *InsertBefore = 0);
394 const Twine &NameStr = "", Instruction *InsertBefore
[all...]
H A DInstructions.h62 const Twine &Name = "", Instruction *InsertBefore = 0);
66 AllocaInst(Type *Ty, const Twine &Name, Instruction *InsertBefore = 0);
70 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);
845 GetElementPtrInst(Value *Ptr, ArrayRef<Value *> IdxList, unsigned Values, const Twine &NameStr, Instruction *InsertBefore) argument
892 ICmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument
1043 FCmpInst( Instruction *InsertBefore, Predicate pred, Value *LHS, Value *RHS, const Twine &NameStr = � ) argument
1375 CallInst(Value *Func, ArrayRef<Value *> Args, const Twine &NameStr, Instruction *InsertBefore) argument
1405 SelectInst(Value *C, Value *S1, Value *S2, const Twine &NameStr, Instruction *InsertBefore) argument
1771 ExtractValueInst(Value *Agg, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) argument
1898 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) argument
[all...]
H A DBasicBlock.h87 /// InsertBefore is null), or before the specified basic block.
90 Function *Parent = 0, BasicBlock *InsertBefore = 0);
101 /// function (if InsertBefore is 0), or before the specified basic block.
103 Function *Parent = 0,BasicBlock *InsertBefore = 0) {
104 return new BasicBlock(Context, Name, Parent, InsertBefore);
H A DGlobalVariable.h61 GlobalVariable *InsertBefore = 0, bool ThreadLocal = false,
/external/llvm/lib/IR/
H A DInstructions.cpp180 const Twine &NameStr, Instruction *InsertBefore)
181 : Instruction(RetTy, Instruction::LandingPad, nullptr, 0, InsertBefore) {
206 Instruction *InsertBefore) {
207 return new LandingPadInst(RetTy, NumReservedClauses, NameStr, InsertBefore);
287 Instruction *InsertBefore)
292 1, InsertBefore) {
441 static Instruction *createMalloc(Instruction *InsertBefore,
447 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) &&
448 "createMalloc needs either InsertBefore o
179 LandingPadInst(Type *RetTy, unsigned NumReservedValues, const Twine &NameStr, Instruction *InsertBefore) argument
204 Create(Type *RetTy, unsigned NumReservedClauses, const Twine &NameStr, Instruction *InsertBefore) argument
[all...]
H A DBasicBlock.cpp42 BasicBlock *InsertBefore)
46 insertInto(NewParent, InsertBefore);
48 assert(!InsertBefore &&
54 void BasicBlock::insertInto(Function *NewParent, BasicBlock *InsertBefore) { argument
58 if (InsertBefore)
59 NewParent->getBasicBlockList().insert(InsertBefore->getIterator(), this);
41 BasicBlock(LLVMContext &C, const Twine &Name, Function *NewParent, BasicBlock *InsertBefore) argument
H A DInstruction.cpp24 Instruction *InsertBefore)
28 if (InsertBefore) {
29 BasicBlock *BB = InsertBefore->getParent();
31 BB->getInstList().insert(InsertBefore->getIterator(), this);
23 Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, Instruction *InsertBefore) argument
/external/llvm/lib/Target/ARM/
H A DA15SDOptimizer.cpp70 MachineBasicBlock::iterator InsertBefore,
75 MachineBasicBlock::iterator InsertBefore,
80 MachineBasicBlock::iterator InsertBefore,
84 MachineBasicBlock::iterator InsertBefore,
89 MachineBasicBlock::iterator InsertBefore,
94 MachineBasicBlock::iterator InsertBefore,
427 MachineBasicBlock::iterator InsertBefore,
433 InsertBefore,
445 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore,
450 InsertBefore,
426 createDupLane(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, const DebugLoc &DL, unsigned Reg, unsigned Lane, bool QPR) argument
444 createExtractSubreg( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, const DebugLoc &DL, unsigned DReg, unsigned Lane, const TargetRegisterClass *TRC) argument
459 createRegSequence( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, const DebugLoc &DL, unsigned Reg1, unsigned Reg2) argument
476 createVExt(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, const DebugLoc &DL, unsigned Ssub0, unsigned Ssub1) argument
491 createInsertSubreg( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, const DebugLoc &DL, unsigned DReg, unsigned Lane, unsigned ToInsert) argument
507 createImplicitDef(MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, const DebugLoc &DL) argument
[all...]
H A DARMLoadStoreOptimizer.cpp152 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore,
157 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore,
594 MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore,
604 (MBB.computeRegisterLiveness(TRI, ARM::CPSR, InsertBefore, 20) ==
657 moveLiveRegsBefore(MBB, InsertBefore);
706 BuildMI(MBB, InsertBefore, DL, TII->get(ARM::tMOVSr), NewBase)
709 BuildMI(MBB, InsertBefore, DL, TII->get(ARM::tMOVr), NewBase)
719 BuildMI(MBB, InsertBefore, DL, TII->get(BaseOpc), NewBase)
724 BuildMI(MBB, InsertBefore, DL, TII->get(BaseOpc), NewBase), true)
728 BuildMI(MBB, InsertBefore, D
593 CreateLoadStoreMulti( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, int Offset, unsigned Base, bool BaseKill, unsigned Opcode, ARMCC::CondCodes Pred, unsigned PredReg, const DebugLoc &DL, ArrayRef<std::pair<unsigned, bool>> Regs) argument
790 CreateLoadStoreDouble( MachineBasicBlock &MBB, MachineBasicBlock::iterator InsertBefore, int Offset, unsigned Base, bool BaseKill, unsigned Opcode, ARMCC::CondCodes Pred, unsigned PredReg, const DebugLoc &DL, ArrayRef<std::pair<unsigned, bool>> Regs) const argument
855 iterator InsertBefore = std::next(iterator(LatestMI)); local
[all...]
/external/libchrome/base/containers/
H A Dlinked_list.h25 // LinkNode::InsertBefore, or LinkNode::InsertAfter:
33 // n3->InsertBefore(n3);
92 void InsertBefore(LinkNode<T>* e) { function in class:base::LinkNode
151 e->InsertBefore(&root_);
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
H A DTokenRewriteStream.cs251 InsertBefore(programName, index + 1, text);
255 public virtual void InsertBefore(IToken t, object text) { method in class:Antlr.Runtime.TokenRewriteStream
256 InsertBefore(DEFAULT_PROGRAM_NAME, t, text);
259 public virtual void InsertBefore(int index, object text) { method in class:Antlr.Runtime.TokenRewriteStream
260 InsertBefore(DEFAULT_PROGRAM_NAME, index, text);
263 public virtual void InsertBefore(string programName, IToken t, object text) { method in class:Antlr.Runtime.TokenRewriteStream
264 InsertBefore(programName, t.TokenIndex, text);
267 public virtual void InsertBefore(string programName, int index, object text) { method in class:Antlr.Runtime.TokenRewriteStream
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/streams/
H A Drewrite.rb61 The three subclasses of RewriteOperation, InsertBefore, Delete, and Replace,
95 =begin rdoc ANTLR3::TokenRewriteStream::InsertBefore
104 class InsertBefore < RewriteOperation class in class:ANTLR3
191 op = InsertBefore.new( @stream, index, text )
199 op = InsertBefore.new( @stream, index + 1, text )
225 when InsertBefore
235 when InsertBefore
240 when InsertBefore
297 operation.is_a?( InsertBefore )
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
H A DTokenRewriteStream.cs286 InsertBefore( programName, index + 1, text );
289 public virtual void InsertBefore( IToken t, object text ) method in class:Antlr.Runtime.TokenRewriteStream
291 InsertBefore( DEFAULT_PROGRAM_NAME, t, text );
294 public virtual void InsertBefore( int index, object text ) method in class:Antlr.Runtime.TokenRewriteStream
296 InsertBefore( DEFAULT_PROGRAM_NAME, index, text );
299 public virtual void InsertBefore( string programName, IToken t, object text ) method in class:Antlr.Runtime.TokenRewriteStream
301 InsertBefore( programName, t.TokenIndex, text );
304 public virtual void InsertBefore( string programName, int index, object text ) method in class:Antlr.Runtime.TokenRewriteStream
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DValueTracking.h109 /// If InsertBefore is not null, this function will duplicate (modified)
113 Instruction *InsertBefore = 0);
/external/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp176 InsertSafepointPoll(Instruction *InsertBefore,
612 InsertSafepointPoll(Instruction *InsertBefore, argument
614 BasicBlock *OrigBB = InsertBefore->getParent();
615 Module *M = InsertBefore->getModule();
628 CallInst *PollCall = CallInst::Create(F, "", InsertBefore);
/external/v8/src/crankshaft/
H A Dhydrogen-bce.cc252 index->InsertBefore(insert_before);
258 HConstant::cast(left_input)->InsertBefore(index);
262 HConstant::cast(right_input)->InsertBefore(index);
267 HConstant::cast(context)->InsertBefore(index);
282 index->InsertBefore(insert_before);
/external/swiftshader/third_party/LLVM/tools/llvm-ar/
H A Dllvm-ar.cpp94 bool InsertBefore = false; ///< 'i' modifier variable
224 InsertBefore = true;
251 if (AddAfter || AddBefore || InsertBefore)
529 if (AddBefore || InsertBefore || AddAfter) {
665 if ((AddBefore || InsertBefore) && RelPos == I->getPath().str())
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DValueTracking.cpp1321 Instruction *InsertBefore) {
1332 InsertBefore);
1362 "tmp", InsertBefore);
1376 // All inserted insertvalue instructions are inserted before InsertBefore
1378 Instruction *InsertBefore) {
1379 assert(InsertBefore && "Must have someplace to insert!");
1386 return BuildSubAggregate(From, To, IndexedType, Idxs, IdxSkip, InsertBefore);
1393 /// If InsertBefore is not null, this function will duplicate (modified)
1396 Instruction *InsertBefore) {
1418 InsertBefore);
1318 BuildSubAggregate(Value *From, Value* To, Type *IndexedType, SmallVector<unsigned, 10> &Idxs, unsigned IdxSkip, Instruction *InsertBefore) argument
1377 BuildSubAggregate(Value *From, ArrayRef<unsigned> idx_range, Instruction *InsertBefore) argument
1395 FindInsertedValue(Value *V, ArrayRef<unsigned> idx_range, Instruction *InsertBefore) argument
[all...]

Completed in 5720 milliseconds

12