Home
last modified time | relevance | path

Searched refs:CreatePointerCast (Results 1 – 22 of 22) sorted by relevance

/NextBSD/contrib/llvm/lib/Transforms/Instrumentation/
HDSanitizerCoverage.cpp238 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()
HDThreadSanitizer.cpp431 {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 …]
HDMemorySanitizer.cpp648 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 …]
HDAddressSanitizer.cpp776 {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 …]
HDInstrProfiling.cpp372 IRB.CreateCall(SetNameF, IRB.CreatePointerCast(ProfileName, Int8PtrTy)); in emitInitialization()
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDLoadCombine.cpp199 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
203 Builder->CreatePointerCast( in combineLoads()
HDMemCpyOptimizer.cpp726 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
732 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
HDLoopStrengthReduce.cpp2939 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGCUDANV.cpp138 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in emitDeviceStubBody()
154 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
HDCGOpenMPRuntime.cpp952 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()
HDTargetInfo.cpp6420 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()
HDCGExprScalar.cpp1470 V = CGF.Builder.CreatePointerCast( in VisitCastExpr()
1480 return CGF.Builder.CreatePointerCast(V, ConvertType(CE->getType())); in VisitCastExpr()
HDCGBlocks.cpp2228 llvm::Value *BC = Builder.CreatePointerCast(ByrefInfoAddr, DesTy); in emitByrefStructureInit()
/NextBSD/contrib/llvm/include/llvm/IR/
HDNoFolder.h219 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
220 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
HDInstrTypes.h465 static CastInst *CreatePointerCast(
473 static CastInst *CreatePointerCast(
HDConstantFolder.h160 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
HDIRBuilder.h1293 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/
HDTargetFolder.h180 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
/NextBSD/contrib/llvm/lib/IR/
HDAutoUpgrade.cpp444 Value *Op = Builder.CreatePointerCast(CI->getArgOperand(0), in UpgradeIntrinsicCall()
HDInstructions.cpp2347 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
HDCore.cpp2663 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
/NextBSD/contrib/llvm/lib/Transforms/Vectorize/
HDLoopVectorize.cpp2536 BackedgeCount = CastInst::CreatePointerCast(BackedgeCount, IdxTy, in createEmptyLoop()
2617 Count = BypassBuilder.CreatePointerCast(Count, IdxTy, "ptrcnt.to.int"); in createEmptyLoop()