Home
last modified time | relevance | path

Searched refs:IRB (Results 1 – 14 of 14) sorted by relevance

/external/llvm/unittests/IR/
DPatternMatch.cpp38 IRBuilder<true, NoFolder> IRB; member
45 BB(BasicBlock::Create(Ctx, "entry", F)), IRB(BB) {} in PatternMatchTest()
54 Value *One = IRB.CreateAdd(IRB.CreateAdd(IRB.getInt32(1), IRB.getInt32(2)), in TEST_F()
55 IRB.getInt32(42)); in TEST_F()
56 Value *Two = IRB.CreateAdd(One, IRB.getInt32(42)); in TEST_F()
57 Value *Leaf = IRB.CreateAdd(IRB.CreateAdd(Two, IRB.getInt32(8)), in TEST_F()
58 IRB.CreateAdd(Two, IRB.getInt32(13))); in TEST_F()
69 Type *FltTy = IRB.getFloatTy(); in TEST_F()
76 .match(IRB.CreateSelect(IRB.CreateFCmpOLT(L, R), L, R))); in TEST_F()
82 .match(IRB.CreateSelect(IRB.CreateFCmpOLE(L, R), L, R))); in TEST_F()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp370 IRBuilder<> IRB(*C); in initializeCallbacks() local
376 WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy(), nullptr); in initializeCallbacks()
383 FunctionName, IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8), in initializeCallbacks()
384 IRB.getInt32Ty(), nullptr); in initializeCallbacks()
388 FunctionName, IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8), in initializeCallbacks()
389 IRB.getInt8PtrTy(), IRB.getInt32Ty(), nullptr); in initializeCallbacks()
393 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in initializeCallbacks()
394 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks()
396 M.getOrInsertFunction("__msan_poison_stack", IRB.getVoidTy(), in initializeCallbacks()
397 IRB.getInt8PtrTy(), IntptrTy, nullptr); in initializeCallbacks()
[all …]
DThreadSanitizer.cpp133 IRBuilder<> IRB(M.getContext()); in initializeCallbacks() local
136 "__tsan_func_entry", IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks()
138 M.getOrInsertFunction("__tsan_func_exit", IRB.getVoidTy(), nullptr)); in initializeCallbacks()
139 OrdTy = IRB.getInt32Ty(); in initializeCallbacks()
145 ReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks()
149 WriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks()
155 UnalignedReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks()
161 UnalignedWriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), nullptr)); in initializeCallbacks()
173 AtomicStoreName, IRB.getVoidTy(), PtrTy, Ty, OrdTy, nullptr)); in initializeCallbacks()
206 M.getOrInsertFunction("__tsan_vptr_update", IRB.getVoidTy(), in initializeCallbacks()
[all …]
DAddressSanitizer.cpp420 Value *createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong,
426 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
476 bool InstrumentGlobals(IRBuilder<> &IRB, Module &M);
612 Value *shiftAllocaMagic(Value *Val, IRBuilder<> &IRB, Value *Shift) { in shiftAllocaMagic()
614 return DL.isLittleEndian() ? IRB.CreateShl(Val, Shift) in shiftAllocaMagic()
615 : IRB.CreateLShr(Val, Shift); in shiftAllocaMagic()
623 Value *computePartialRzMagic(Value *PartialSize, IRBuilder<> &IRB);
698 void poisonRedZones(ArrayRef<uint8_t> ShadowBytes, IRBuilder<> &IRB,
700 void poisonAlloca(Value *V, uint64_t Size, IRBuilder<> &IRB, bool DoPoison);
702 void SetShadowToStackAfterReturnInlined(IRBuilder<> &IRB, Value *ShadowBase,
[all …]
DSanitizerCoverage.cpp149 IRBuilder<> IRB(*C); in runOnModule() local
150 Type *Int8PtrTy = PointerType::getUnqual(IRB.getInt8Ty()); in runOnModule()
151 Type *Int32PtrTy = PointerType::getUnqual(IRB.getInt32Ty()); in runOnModule()
152 Int64Ty = IRB.getInt64Ty(); in runOnModule()
176 EmptyAsm = InlineAsm::get(FunctionType::get(IRB.getVoidTy(), false), in runOnModule()
189 Type *Int32Ty = IRB.getInt32Ty(); in runOnModule()
190 Type *Int8Ty = IRB.getInt8Ty(); in runOnModule()
215 IRB.CreatePointerCast(RealGuardArray, Int32PtrTy)); in runOnModule()
229 IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy)); in runOnModule()
241 IRB.SetInsertPoint(CtorFunc->getEntryBlock().getTerminator()); in runOnModule()
[all …]
DDataFlowSanitizer.cpp848 IRBuilder<> IRB(Pos); in runOnModule() local
849 Value *Ne = IRB.CreateICmpNE(V, DFSF.DFS.ZeroShadow); in runOnModule()
867 IRBuilder<> IRB(F->getEntryBlock().begin()); in getArgTLSPtr() local
868 return ArgTLSPtr = IRB.CreateCall(DFS.GetArgTLS); in getArgTLSPtr()
877 IRBuilder<> IRB(F->getEntryBlock().begin()); in getRetvalTLS() local
878 return RetvalTLSPtr = IRB.CreateCall(DFS.GetRetvalTLS); in getRetvalTLS()
882 IRBuilder<> IRB(Pos); in getArgTLS() local
883 return IRB.CreateConstGEP2_64(getArgTLSPtr(), 0, Idx); in getArgTLS()
900 IRBuilder<> IRB(ArgTLSPos); in getShadow() local
901 Shadow = IRB.CreateLoad(getArgTLS(A->getArgNo(), ArgTLSPos)); in getShadow()
[all …]
DInstrProfiling.cpp264 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", RegisterF)); in emitRegistration() local
266 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration()
267 IRB.CreateRetVoid(); in emitRegistration()
293 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", User)); in emitRuntimeHook() local
294 auto *Load = IRB.CreateLoad(Var); in emitRuntimeHook()
295 IRB.CreateRet(Load); in emitRuntimeHook()
346 IRBuilder<> IRB(BasicBlock::Create(M->getContext(), "", F)); in emitInitialization() local
347 IRB.CreateCall(RegisterF); in emitInitialization()
348 IRB.CreateRetVoid(); in emitInitialization()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1504 IRBuilderTy IRB(&SI); in speculateSelectInstLoads() local
1512 IRB.SetInsertPoint(LI); in speculateSelectInstLoads()
1514 IRB.CreateLoad(TV, LI->getName() + ".sroa.speculate.load.true"); in speculateSelectInstLoads()
1516 IRB.CreateLoad(FV, LI->getName() + ".sroa.speculate.load.false"); in speculateSelectInstLoads()
1530 Value *V = IRB.CreateSelect(SI.getCondition(), TL, FL, in speculateSelectInstLoads()
1544 static Value *buildGEP(IRBuilderTy &IRB, Value *BasePtr, in buildGEP() argument
1554 return IRB.CreateInBoundsGEP(nullptr, BasePtr, Indices, in buildGEP()
1567 static Value *getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, in getNaturalGEPWithType() argument
1572 return buildGEP(IRB, BasePtr, Indices, NamePrefix); in getNaturalGEPWithType()
1587 Indices.push_back(IRB.getIntN(PtrSize, 0)); in getNaturalGEPWithType()
[all …]
DFloat2Int.cpp461 IRBuilder<> IRB(I); in convert() local
467 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], I->getType()); in convert()
471 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], I->getType()); in convert()
477 NewV = IRB.CreateICmp(P, NewOperands[0], NewOperands[1], I->getName()); in convert()
482 NewV = IRB.CreateZExtOrTrunc(NewOperands[0], ToTy); in convert()
486 NewV = IRB.CreateSExtOrTrunc(NewOperands[0], ToTy); in convert()
492 NewV = IRB.CreateBinOp(mapBinOpcode(I->getOpcode()), in convert()
DLoopIdiomRecognize.cpp128 CallInst *createPopcntIntrinsic(IRBuilderTy &IRB, Value *Val, DebugLoc DL);
/external/llvm/lib/Transforms/Utils/
DModuleUtils.cpp26 IRBuilder<> IRB(M.getContext()); in appendToGlobalArray() local
27 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false); in appendToGlobalArray()
47 EltTy = StructType::get(IRB.getInt32Ty(), PointerType::getUnqual(FnTy), in appendToGlobalArray()
53 CSVals[0] = IRB.getInt32(Priority); in appendToGlobalArray()
57 CSVals[2] = llvm::Constant::getNullValue(IRB.getInt8PtrTy()); in appendToGlobalArray()
/external/icu/icu4c/source/data/unidata/
DUnicodeData.txt17293 1053C;CAUCASIAN ALBANIAN LETTER IRB;Lo;0;L;;;;;N;;;;;
Dppucd.txt21067 cp;1053C;na=CAUCASIAN ALBANIAN LETTER IRB
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/unicode/
DUnicodeData.txt17293 1053C;CAUCASIAN ALBANIAN LETTER IRB;Lo;0;L;;;;;N;;;;;