/minix/minix/llvm/passes/include/magic/support/ |
H A D | MagicUtil.h | 21 …on(Value *ptr, std::vector<Value*> &indexes, const Twine &NameStr="", Instruction *InsertBefore=0); 23 …ruction(Value *F, std::vector<Value*> &args, const Twine &NameStr="", Instruction *InsertBefore=0); 30 …static GlobalVariable *getMagicTypePtrArrayRef(Module &M, Instruction *InsertBefore, std::vector<V… 34 …static Value* getMagicSStructFieldPtr(Module &M, Instruction *InsertBefore, GlobalVariable* magicA… 35 …static Value* getMagicTStructFieldPtr(Module &M, Instruction *InsertBefore, GlobalVariable* magicT… 37 …static Value* getMagicRStructFieldPtr(Module &M, Instruction *InsertBefore, GlobalVariable* magicV… 38 …static Value* getMagicDStructFieldPtr(Module &M, Instruction *InsertBefore, GlobalVariable* magicD… 40 …static void insertMemcpyInst(Module &M, Instruction *InsertBefore, Value *Dst, Value *Src, Value *… 41 …static void insertCopyInst(Module &M, Instruction *InsertBefore, GlobalVariable *GV, GlobalVariabl… 46 …M, GlobalVariable* GV, GlobalVariable* magicArray, int magicArrayIndex, Instruction *InsertBefore); [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/IR/ |
H A D | Instructions.cpp | 377 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) && in createMalloc() 387 if (InsertBefore) in createMalloc() 405 if (InsertBefore) in createMalloc() 416 BasicBlock* BB = InsertBefore ? InsertBefore->getParent() : InsertAtEnd; in createMalloc() 426 if (InsertBefore) { in createMalloc() 484 assert(((!InsertBefore && InsertAtEnd) || (InsertBefore && !InsertAtEnd)) && in createFree() 489 BasicBlock* BB = InsertBefore ? InsertBefore->getParent() : InsertAtEnd; in createFree() 498 if (InsertBefore) { in createFree() 1547 InsertBefore) { in ShuffleVectorInst() 3161 if (InsertBefore) in Create() [all …]
|
H A D | BasicBlock.cpp | 46 BasicBlock *InsertBefore) in BasicBlock() argument 50 insertInto(NewParent, InsertBefore); in BasicBlock() 52 assert(!InsertBefore && in BasicBlock() 58 void BasicBlock::insertInto(Function *NewParent, BasicBlock *InsertBefore) { in insertInto() argument 62 if (InsertBefore) in insertInto() 63 NewParent->getBasicBlockList().insert(InsertBefore, this); in insertInto() 335 BasicBlock *InsertBefore = std::next(Function::iterator(this)) in splitBasicBlock() local 338 getParent(), InsertBefore); in splitBasicBlock()
|
H A D | Instruction.cpp | 24 Instruction *InsertBefore) in Instruction() argument 28 if (InsertBefore) { in Instruction() 29 assert(InsertBefore->getParent() && in Instruction() 31 InsertBefore->getParent()->getInstList().insert(InsertBefore, this); in Instruction()
|
H A D | DIBuilder.cpp | 1137 Instruction *InsertBefore) { in insertDeclare() argument 1148 return CallInst::Create(DeclareFn, Args, "", InsertBefore); in insertDeclare() 1176 Instruction *InsertBefore) { in insertDbgValueIntrinsic() argument 1189 return CallInst::Create(ValueFn, Args, "", InsertBefore); in insertDbgValueIntrinsic()
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
H A D | Instructions.h | 176 Instruction *InsertBefore = nullptr); 186 Instruction *InsertBefore = nullptr); 300 Instruction *InsertBefore = nullptr); 964 Values, InsertBefore) { 1017 InsertBefore) { 1149 InsertBefore) { 1551 Instruction *InsertBefore) 1553 &Op<0>(), 3, InsertBefore) { 2066 2, InsertBefore) { 2583 Instruction *InsertBefore); [all …]
|
H A D | InstrTypes.h | 39 Instruction *InsertBefore = nullptr) 40 : Instruction(Ty, iType, Ops, NumOps, InsertBefore) {} in Instruction() argument 139 const Twine &Name, Instruction *InsertBefore); 159 Instruction *InsertBefore = nullptr); 283 Instruction *InsertBefore = nullptr); 299 Instruction *InsertBefore = nullptr); 391 : UnaryInstruction(Ty, iType, S, InsertBefore) { 489 Instruction *InsertBefore = 0 ///< Place to insert the instruction 502 Instruction *InsertBefore = 0 ///< Place to insert the instruction 682 Instruction *InsertBefore = nullptr); [all …]
|
H A D | BasicBlock.h | 95 BasicBlock *InsertBefore = nullptr); 113 BasicBlock *InsertBefore = nullptr) { 114 return new BasicBlock(Context, Name, Parent, InsertBefore); 191 void insertInto(Function *Parent, BasicBlock *InsertBefore = nullptr);
|
H A D | GlobalVariable.h | 65 const Twine &Name = "", GlobalVariable *InsertBefore = nullptr,
|
H A D | DIBuilder.h | 684 DIExpression Expr, Instruction *InsertBefore); 704 Instruction *InsertBefore);
|
H A D | Instruction.h | 486 Instruction *InsertBefore = nullptr);
|
/minix/external/bsd/llvm/dist/llvm/lib/Target/ARM/ |
H A D | A15SDOptimizer.cpp | 67 MachineBasicBlock::iterator InsertBefore, 79 MachineBasicBlock::iterator InsertBefore, 84 MachineBasicBlock::iterator InsertBefore, 94 MachineBasicBlock::iterator InsertBefore, 434 InsertBefore, in createDupLane() 453 InsertBefore, in createExtractSubreg() 469 InsertBefore, in createRegSequence() 483 MachineBasicBlock::iterator InsertBefore, in createVExt() argument 488 InsertBefore, in createVExt() 504 InsertBefore, in createInsertSubreg() [all …]
|
/minix/minix/llvm/passes/magic/support/ |
H A D | MagicUtil.cpp | 170 return PassUtil::createGetElementPtrInstruction(ptr, indexes, NameStr, InsertBefore); in createGetElementPtrInstruction() 178 return PassUtil::createCallInstruction(F, args, NameStr, InsertBefore); in createCallInstruction() 399 varPtr = createGetElementPtrInstruction(var, arrayIndexes, "", InsertBefore); in getMagicStructFieldPtr() 431 … return getMagicStructFieldPtr(M, InsertBefore, magicVar, NULL, structFieldName, structFieldNames); in getMagicRStructFieldPtr() 473 createCallInstruction(MemCpy, MemCpyArgs, "", InsertBefore); in insertMemcpyInst() 483 LoadInst* primitiveValue = new LoadInst(GV, "", false, InsertBefore); in insertCopyInst() 484 new StoreInst(primitiveValue, SGV, false, InsertBefore); in insertCopyInst() 619 …oreInst(ConstantInt::get(M.getContext(), APInt(32, 0, 10)), structFlagsField, false, InsertBefore); in insertGlobalVariableCleanDirtyFlag() 622 void MagicUtil::insertShadowTag(Module &M, GlobalVariable *GV, Instruction *InsertBefore) { in insertShadowTag() argument 637 args.push_back(new BitCastInst(GV, voidPointerType, "", InsertBefore)); in insertShadowTag() [all …]
|
/minix/minix/llvm/passes/asr/ |
H A D | ASRPass.cpp | 172 GlobalVariable *create_padding_gv(Module &M, GlobalVariable *InsertBefore, int n_bytes){ in create_padding_gv() argument 182 /*InsertBefore=*/InsertBefore); in create_padding_gv() 184 padding_char_arr->setSection(InsertBefore->getSection()); in create_padding_gv() 189 AllocaInst *create_padding_lv(Module &M, Instruction *InsertBefore, int n_bytes){ in create_padding_lv() argument 192 AllocaInst* ptr_x = new AllocaInst(ArrayTy, "magic_asr_padding_lv", InsertBefore); in create_padding_lv()
|
/minix/minix/llvm/passes/include/common/ |
H A D | pass_common.h | 160 …on(Value *ptr, std::vector<Value*> &indexes, const Twine &NameStr="", Instruction *InsertBefore=0); 162 …ruction(Value *F, std::vector<Value*> &args, const Twine &NameStr="", Instruction *InsertBefore=0); 468 …uction(Value *ptr, std::vector<Value*> &indexes, const Twine &NameStr, Instruction *InsertBefore) { in createGetElementPtrInstruction() argument 471 return GetElementPtrInst::Create(ptr, ref, NameStr, InsertBefore); in createGetElementPtrInstruction() 473 return GetElementPtrInst::Create(ptr, indexes.begin(), indexes.end(), NameStr, InsertBefore); in createGetElementPtrInstruction() 486 …Instruction(Value *F, std::vector<Value*> &args, const Twine &NameStr, Instruction *InsertBefore) { in createCallInstruction() argument 489 return CallInst::Create(F, ref, NameStr, InsertBefore); in createCallInstruction() 491 return CallInst::Create(F, args.begin(), args.end(), NameStr, InsertBefore); in createCallInstruction()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | Reassociate.cpp | 353 Instruction *InsertBefore, Value *FlagsOp) { in CreateAdd() argument 355 return BinaryOperator::CreateAdd(S1, S2, Name, InsertBefore); in CreateAdd() 358 BinaryOperator::CreateFAdd(S1, S2, Name, InsertBefore); in CreateAdd() 365 Instruction *InsertBefore, Value *FlagsOp) { in CreateMul() argument 367 return BinaryOperator::CreateMul(S1, S2, Name, InsertBefore); in CreateMul() 370 BinaryOperator::CreateFMul(S1, S2, Name, InsertBefore); in CreateMul() 377 Instruction *InsertBefore, Value *FlagsOp) { in CreateNeg() argument 379 return BinaryOperator::CreateNeg(S1, Name, InsertBefore); in CreateNeg() 1253 static Value *createAndInstr(Instruction *InsertBefore, Value *Opnd, in createAndInstr() argument 1260 "and.ra", InsertBefore); in createAndInstr() [all …]
|
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 2128 Instruction *InsertBefore) { in BuildSubAggregate() argument 2139 InsertBefore); in BuildSubAggregate() 2169 "tmp", InsertBefore); in BuildSubAggregate() 2185 Instruction *InsertBefore) { in BuildSubAggregate() argument 2186 assert(InsertBefore && "Must have someplace to insert!"); in BuildSubAggregate() 2203 Instruction *InsertBefore) { in FindInsertedValue() argument 2217 return FindInsertedValue(C, idx_range.slice(1), InsertBefore); in FindInsertedValue() 2228 if (!InsertBefore) in FindInsertedValue() 2242 InsertBefore); in FindInsertedValue() 2250 InsertBefore); in FindInsertedValue() [all …]
|
/minix/external/bsd/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | ValueTracking.h | 134 Instruction *InsertBefore = nullptr);
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | AddressSanitizer.cpp | 373 void instrumentAddress(Instruction *OrigIns, Instruction *InsertBefore, 378 Instruction *generateCrashCode(Instruction *InsertBefore, Value *Addr, 925 Instruction *InsertBefore, Value *Addr, in generateCrashCode() argument 927 IRBuilder<> IRB(InsertBefore); in generateCrashCode() 958 Instruction *InsertBefore, Value *Addr, in instrumentAddress() argument 961 IRBuilder<> IRB(InsertBefore); in instrumentAddress() 987 SplitBlockAndInsertIfThen(Cmp, InsertBefore, false, in instrumentAddress() 999 CrashTerm = SplitBlockAndInsertIfThen(Cmp, InsertBefore, true); in instrumentAddress()
|
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombine.h | 152 Instruction *InsertBefore);
|
H A D | InstCombineMulDivRem.cpp | 476 Instruction *InsertBefore) { in foldFMulConst() argument 517 InsertNewInstWith(R, *InsertBefore); in foldFMulConst()
|
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 4506 auto *InsertBefore = std::next(Function::iterator(BB)) in splitBranchCondition() local 4510 BB.getParent(), InsertBefore); in splitBranchCondition()
|