Searched refs:IRB (Results 1 - 7 of 7) sorted by relevance

/freebsd-10.2-release/contrib/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp144 IRBuilder<> IRB(M.getContext());
147 "__tsan_func_entry", IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL));
149 "__tsan_func_exit", IRB.getVoidTy(), NULL));
150 OrdTy = IRB.getInt32Ty();
156 ReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL));
160 WriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL));
172 AtomicStoreName, IRB
428 createOrdering(IRBuilder< *IRB, AtomicOrdering ord) argument
443 createFailOrdering(IRBuilder< *IRB, AtomicOrdering ord) argument
[all...]
H A DMemorySanitizer.cpp319 IRBuilder<> IRB(*C);
325 WarningFn = M.getOrInsertFunction(WarningFnName, IRB.getVoidTy(), NULL);
328 "__msan_copy_origin", IRB.getVoidTy(), IRB.getInt8PtrTy(),
329 IRB.getInt8PtrTy(), IntptrTy, NULL);
331 "__msan_set_alloca_origin4", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy,
332 IRB.getInt8PtrTy(), IntptrTy, NULL);
334 "__msan_poison_stack", IRB.getVoidTy(), IRB
739 convertToShadowTyNoVec(Value *V, IRBuilder<> &IRB) argument
750 getShadowPtr(Value *Addr, Type *ShadowTy, IRBuilder<> &IRB) argument
762 getOriginPtr(Value *Addr, IRBuilder<> &IRB) argument
777 getShadowPtrForArgument(Value *A, IRBuilder<> &IRB, int ArgOffset) argument
786 getOriginPtrForArgument(Value *A, IRBuilder<> &IRB, int ArgOffset) argument
796 getShadowPtrForRetval(Value *A, IRBuilder<> &IRB) argument
803 getOriginPtrForRetval(IRBuilder< &IRB) argument
1233 IRBuilder<> &IRB; member in class:__anon2745::MemorySanitizerVisitor::Combiner
1237 Combiner(MemorySanitizerVisitor *MSV, IRBuilder<> &IRB) argument
1311 CreateShadowCast(IRBuilder< &IRB, Value *V, Type *dstTy, bool Signed = false) argument
1400 getLowestPossibleValue(IRBuilder< &IRB, Value *A, Value *Sa, bool isSigned) argument
1417 getHighestPossibleValue(IRBuilder< &IRB, Value *A, Value *Sa, bool isSigned) argument
2198 visitCallSite(CallSite &CS, IRBuilder<> &IRB) argument
2233 getShadowPtrForVAArgument(Value *A, IRBuilder<> &IRB, int ArgOffset) argument
2316 visitCallSite(CallSite &CS, IRBuilder<> &IRB) argument
[all...]
H A DAddressSanitizer.cpp307 Value *createSlowPathCmp(IRBuilder<> &IRB, Value *AddrLong,
316 Value *memToShadow(Value *Shadow, IRBuilder<> &IRB);
319 void emitShadowMapping(Module &M, IRBuilder<> &IRB) const;
541 void poisonRedZones(const ArrayRef<AllocaInst*> &AllocaVec, IRBuilder<> &IRB,
543 void poisonAlloca(Value *V, uint64_t Size, IRBuilder<> &IRB, bool DoPoison);
545 void SetShadowToStackAfterReturnInlined(IRBuilder<> &IRB, Value *ShadowBase,
593 Value *AddressSanitizer::memToShadow(Value *Shadow, IRBuilder<> &IRB) { argument
595 Shadow = IRB.CreateLShr(Shadow, Mapping.Scale);
600 return IRB.CreateOr(Shadow, ConstantInt::get(IntptrTy, Mapping.Offset));
602 return IRB
761 createSlowPathCmp(IRBuilder< &IRB, Value *AddrLong, Value *ShadowValue, uint32_t TypeSize) argument
1381 poisonRedZones( const ArrayRef<AllocaInst*> &AllocaVec, IRBuilder<> &IRB, Value *ShadowBase, bool DoPoison) argument
1459 SetShadowToStackAfterReturnInlined( IRBuilder< &IRB, Value *ShadowBase, int Size) argument
1630 poisonAlloca(Value *V, uint64_t Size, IRBuilder<> &IRB, bool DoPoison) argument
[all...]
H A DDataFlowSanitizer.cpp720 IRBuilder<> IRB(Pos);
722 IRB.CreateICmpNE(*i, DFSF.DFS.ZeroShadow));
740 IRBuilder<> IRB(F->getEntryBlock().begin());
741 return ArgTLSPtr = IRB.CreateCall(DFS.GetArgTLS);
750 IRBuilder<> IRB(F->getEntryBlock().begin());
751 return RetvalTLSPtr = IRB.CreateCall(DFS.GetRetvalTLS);
755 IRBuilder<> IRB(Pos);
756 return IRB.CreateConstGEP2_64(getArgTLSPtr(), 0, Idx);
773 IRBuilder<> IRB(ArgTLSPos);
774 Shadow = IRB
[all...]
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp25 IRBuilder<> IRB(M.getContext());
26 FunctionType *FnTy = FunctionType::get(IRB.getVoidTy(), false);
28 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), NULL);
31 Ty, IRB.getInt32(Priority), F, NULL);
/freebsd-10.2-release/contrib/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1153 IRBuilderTy IRB(&SI);
1161 IRB.SetInsertPoint(LI);
1163 IRB.CreateLoad(TV, LI->getName() + ".sroa.speculate.load.true");
1165 IRB.CreateLoad(FV, LI->getName() + ".sroa.speculate.load.false");
1176 Value *V = IRB.CreateSelect(SI.getCondition(), TL, FL,
1190 static Value *buildGEP(IRBuilderTy &IRB, Value *BasePtr, argument
1200 return IRB.CreateInBoundsGEP(BasePtr, Indices, "idx");
1212 static Value *getNaturalGEPWithType(IRBuilderTy &IRB, const DataLayout &DL, argument
1216 return buildGEP(IRB, BasePtr, Indices);
1229 Indices.push_back(IRB
1250 getNaturalGEPRecursively(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, Type *Ty, APInt &Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument
1320 getNaturalGEPWithOffset(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, APInt Offset, Type *TargetTy, SmallVectorImpl<Value *> &Indices) argument
1359 getAdjustedPtr(IRBuilderTy &IRB, const DataLayout &DL, Value *Ptr, APInt Offset, Type *PointerTy) argument
1485 convertValue(const DataLayout &DL, IRBuilderTy &IRB, Value *V, Type *NewTy) argument
1766 extractInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *V, IntegerType *Ty, uint64_t Offset, const Twine &Name) argument
1789 insertInteger(const DataLayout &DL, IRBuilderTy &IRB, Value *Old, Value *V, uint64_t Offset, const Twine &Name) argument
1820 extractVector(IRBuilderTy &IRB, Value *V, unsigned BeginIndex, unsigned EndIndex, const Twine &Name) argument
1848 insertVector(IRBuilderTy &IRB, Value *Old, Value *V, unsigned BeginIndex, const Twine &Name) argument
1947 IRBuilderTy IRB; member in class:__anon2819::AllocaSliceRewriter
2024 getAdjustedAllocaPtr(IRBuilderTy &IRB, uint64_t Offset, Type *PointerTy) argument
2743 IRBuilderTy IRB; member in class:__anon2820::AggLoadStoreRewriter::OpSplitter
[all...]
H A DLoopIdiomRecognize.cpp129 CallInst *createPopcntIntrinsic(IRBuilderTy &IRB, Value *Val, DebugLoc DL);

Completed in 130 milliseconds