| /NextBSD/contrib/llvm/lib/Transforms/Instrumentation/ |
| HD | SanitizerCoverage.cpp | 238 IRB.CreatePointerCast(RealGuardArray, Int32PtrTy)); in runOnModule() 252 IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy)); in runOnModule() 267 {IRB.CreatePointerCast(RealGuardArray, Int32PtrTy), in runOnModule() 270 ? IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy) in runOnModule() 272 IRB.CreatePointerCast(ModuleName, Int8PtrTy)}); in runOnModule() 346 {IRB.CreatePointerCast(Callee, IntptrTy), in InjectCoverageForIndirectCalls() 347 IRB.CreatePointerCast(CalleeCache, IntptrTy)}); in InjectCoverageForIndirectCalls() 408 IRB.CreatePointerCast(GuardArray, IntptrTy), in InjectCoverageAtBlock() 432 IRB.CreatePointerCast(EightBitCounterArray, IntptrTy), in InjectCoverageAtBlock()
|
| HD | ThreadSanitizer.cpp | 431 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore() 432 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())}); in instrumentLoadOrStore() 438 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore() 452 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore() 486 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 493 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 494 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 520 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic() 534 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic() 551 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic() [all …]
|
| HD | MemorySanitizer.cpp | 648 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0)); in paintOrigin() 694 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin() 899 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getShadowPtrOffset() 949 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument() 959 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument() 967 Value *Base = IRB.CreatePointerCast(MS.RetvalTLS, MS.IntptrTy); in getShadowPtrForRetval() 1640 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison() 1641 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison() 1713 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact() 1714 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact() [all …]
|
| HD | AddressSanitizer.cpp | 776 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 777 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 782 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic() 891 Param[i] = IRB.CreatePointerCast(Param[i], IntptrTy); in instrumentPointerComparisonOrSubtraction() 1010 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress() 1067 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment() 1337 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals() 1348 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals() 1704 return IRB.CreatePointerCast(Alloca, IntptrTy); in createAllocaForLayout() 1840 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, IntptrTy); in poisonStack() [all …]
|
| HD | InstrProfiling.cpp | 372 IRB.CreateCall(SetNameF, IRB.CreatePointerCast(ProfileName, Int8PtrTy)); in emitInitialization()
|
| /NextBSD/contrib/llvm/lib/Transforms/Scalar/ |
| HD | LoadCombine.cpp | 199 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads() 203 Builder->CreatePointerCast( in combineLoads()
|
| HD | MemCpyOptimizer.cpp | 726 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn() 732 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
|
| HD | LoopStrengthReduce.cpp | 2939 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGCUDANV.cpp | 138 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in emitDeviceStubBody() 154 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
|
| HD | CGOpenMPRuntime.cpp | 952 CGF.Builder.CreatePointerCast(VDAddr, CGM.Int8PtrTy), in getAddrOfThreadPrivate() 970 CGF.Builder.CreatePointerCast(VDAddr, CGM.VoidPtrTy), in emitThreadPrivateVarInit() 1011 auto Arg = CtorCGF.Builder.CreatePointerCast( in emitThreadPrivateVarDefinition()
|
| HD | TargetInfo.cpp | 6420 return Builder.CreatePointerCast(ArgAddr, ArgPtrTy, "arg.addr"); in EmitVAArg() 6622 Val = Builder.CreatePointerCast(AP, ArgPtrTy); in EmitVAArg() 6631 Val = Builder.CreatePointerCast(ArgAddr, ArgPtrTy); in EmitVAArg()
|
| HD | CGExprScalar.cpp | 1470 V = CGF.Builder.CreatePointerCast( in VisitCastExpr() 1480 return CGF.Builder.CreatePointerCast(V, ConvertType(CE->getType())); in VisitCastExpr()
|
| HD | CGBlocks.cpp | 2228 llvm::Value *BC = Builder.CreatePointerCast(ByrefInfoAddr, DesTy); in emitByrefStructureInit()
|
| /NextBSD/contrib/llvm/include/llvm/IR/ |
| HD | NoFolder.h | 219 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function 220 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
|
| HD | InstrTypes.h | 465 static CastInst *CreatePointerCast( 473 static CastInst *CreatePointerCast(
|
| HD | ConstantFolder.h | 160 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
| HD | IRBuilder.h | 1293 Value *CreatePointerCast(Value *V, Type *DestTy, 1298 return Insert(Folder.CreatePointerCast(VC, DestTy), Name); 1299 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
|
| /NextBSD/contrib/llvm/include/llvm/Analysis/ |
| HD | TargetFolder.h | 180 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | AutoUpgrade.cpp | 444 Value *Op = Builder.CreatePointerCast(CI->getArgOperand(0), in UpgradeIntrinsicCall()
|
| HD | Instructions.cpp | 2347 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst 2365 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
|
| HD | Core.cpp | 2663 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
|
| /NextBSD/contrib/llvm/lib/Transforms/Vectorize/ |
| HD | LoopVectorize.cpp | 2536 BackedgeCount = CastInst::CreatePointerCast(BackedgeCount, IdxTy, in createEmptyLoop() 2617 Count = BypassBuilder.CreatePointerCast(Count, IdxTy, "ptrcnt.to.int"); in createEmptyLoop()
|