Searched defs:IRB (Results 1 - 5 of 5) sorted by relevance

/external/llvm/unittests/IR/
H A DPatternMatch.cpp38 IRBuilder<true, NoFolder> IRB; member in struct:__anon26505::PatternMatchTest
45 BB(BasicBlock::Create(Ctx, "entry", F)), IRB(BB) {}
54 Value *One = IRB.CreateAdd(IRB.CreateAdd(IRB.getInt32(1), IRB.getInt32(2)),
55 IRB.getInt32(42));
56 Value *Two = IRB.CreateAdd(One, IRB.getInt32(42));
57 Value *Leaf = IRB
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp135 IRBuilder<> IRB(M.getContext());
138 "__tsan_func_entry", IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL));
140 "__tsan_func_exit", IRB.getVoidTy(), NULL));
141 OrdTy = IRB.getInt32Ty();
147 ReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL));
151 WriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL));
163 AtomicStoreName, IRB
422 createOrdering(IRBuilder< *IRB, AtomicOrdering ord) argument
[all...]
H A DAddressSanitizer.cpp372 Value *createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong,
378 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
427 bool InstrumentGlobals(IRBuilder<> &IRB, Module &M);
573 void poisonRedZones(const ArrayRef<uint8_t> ShadowBytes, IRBuilder<> &IRB,
575 void poisonAlloca(Value *V, uint64_t Size, IRBuilder<> &IRB, bool DoPoison);
577 void SetShadowToStackAfterReturnInlined(IRBuilder<> &IRB, Value *ShadowBase,
624 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { argument
626 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale);
631 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset));
633 return IRB
817 createSlowPathCmp(IRBuilder< &IRB, Value *AddrLong, Value *ShadowValue, uint32_t TypeSize) argument
1024 InstrumentGlobals(IRBuilder< &IRB, Module &M) argument
1514 poisonRedZones(const ArrayRef<uint8_t> ShadowBytes, IRBuilder<> &IRB, Value *ShadowBase, bool DoPoison) argument
1557 SetShadowToStackAfterReturnInlined( IRBuilder< &IRB, Value *ShadowBase, int Size) argument
1744 poisonAlloca(Value *V, uint64_t Size, IRBuilder<> &IRB, bool DoPoison) argument
[all...]
H A DMemorySanitizer.cpp318 IRBuilder<> IRB(*C);
324 WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy(), NULL);
331 FunctionName, IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8),
332 IRB.getInt32Ty(), NULL);
336 FunctionName, IRB.getVoidTy(), IRB.getIntNTy(AccessSize * 8),
337 IRB.getInt8PtrTy(), IRB.getInt32Ty(), NULL);
341 "__msan_set_alloca_origin4", IRB
547 updateOrigin(Value *V, IRBuilder<> &IRB) argument
552 storeOrigin(IRBuilder< &IRB, Value *Addr, Value *Shadow, Value *Origin, unsigned Alignment, bool AsCall) argument
786 convertToShadowTyNoVec(Value *V, IRBuilder<> &IRB) argument
797 getShadowPtr(Value *Addr, Type *ShadowTy, IRBuilder<> &IRB) argument
809 getOriginPtr(Value *Addr, IRBuilder<> &IRB) argument
824 getShadowPtrForArgument(Value *A, IRBuilder<> &IRB, int ArgOffset) argument
833 getOriginPtrForArgument(Value *A, IRBuilder<> &IRB, int ArgOffset) argument
843 getShadowPtrForRetval(Value *A, IRBuilder<> &IRB) argument
850 getOriginPtrForRetval(IRBuilder< &IRB) argument
1281 IRBuilder<> &IRB; member in class:__anon26257::MemorySanitizerVisitor::Combiner
1285 Combiner(MemorySanitizerVisitor *MSV, IRBuilder<> &IRB) argument
1363 CreateShadowCast(IRBuilder< &IRB, Value *V, Type *dstTy, bool Signed = false) argument
1381 CreateAppToShadowCast(IRBuilder< &IRB, Value *V) argument
1511 getLowestPossibleValue(IRBuilder< &IRB, Value *A, Value *Sa, bool isSigned) argument
1528 getHighestPossibleValue(IRBuilder< &IRB, Value *A, Value *Sa, bool isSigned) argument
1943 Lower64ShadowExtend(IRBuilder< &IRB, Value *S, Type *T) argument
1951 VariableShadowExtend(IRBuilder< &IRB, Value *S) argument
2649 getShadowPtrForVAArgument(Type *Ty, IRBuilder<> &IRB, int ArgOffset) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1226 IRBuilderTy IRB(&SI);
1234 IRB.SetInsertPoint(LI);
1236 IRB.CreateLoad(TV, LI->getName() + ".sroa.speculate.load.true");
1238 IRB.CreateLoad(FV, LI->getName() + ".sroa.speculate.load.false");
1249 Value *V = IRB.CreateSelect(SI.getCondition(), TL, FL,
1263 static Value *buildGEP(IRBuilderTy &IRB, Value *BasePtr, argument
1273 return IRB.CreateInBoundsGEP(BasePtr, Indices, NamePrefix + "sroa_idx");
1285 static Value *getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, argument
1290 return buildGEP(IRB, BasePtr, Indices, NamePrefix);
1305 Indices.push_back(IRB
1329 getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, Type *Ty, APInt &Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices, Twine NamePrefix) argument
1402 getNaturalGEPWithOffset(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, APInt Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices, Twine NamePrefix) argument
1442 getAdjustedPtr(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, APInt Offset, Type *PointerTy, Twine NamePrefix) argument
1570 convertValue(const DataLayout &DL, IRBuilderTy &IRB, Value *V, Type *NewTy) argument
1851 extractInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *V, IntegerType *Ty, uint64_t Offset, const Twine &Name) argument
1874 insertInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *Old, Value *V, uint64_t Offset, const Twine &Name) argument
1905 extractVector(IRBuilderTy &IRB, Value *V, unsigned BeginIndex, unsigned EndIndex, const Twine &Name) argument
1933 insertVector(IRBuilderTy &IRB, Value *Old, Value *V, unsigned BeginIndex, const Twine &Name) argument
2038 IRBuilderTy IRB; member in class:__anon26329::AllocaSliceRewriter
2112 getNewAllocaSlicePtr(IRBuilderTy &IRB, Type *PointerTy) argument
2799 IRBuilderTy IRB; member in class:__anon26330::AggLoadStoreRewriter::OpSplitter
[all...]

Completed in 114 milliseconds