Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp215 IRB.CreatePointerCast(RealGuardArray, Int32PtrTy)); in runOnModule()
229 IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy)); in runOnModule()
243 SanCovModuleInit, IRB.CreatePointerCast(RealGuardArray, Int32PtrTy), in runOnModule()
246 ? IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy) in runOnModule()
248 IRB.CreatePointerCast(ModuleName, Int8PtrTy)); in runOnModule()
317 IRB.CreatePointerCast(Callee, IntptrTy), in InjectCoverageForIndirectCalls()
318 IRB.CreatePointerCast(CalleeCache, IntptrTy)); in InjectCoverageForIndirectCalls()
368 IRB.CreatePointerCast(GuardArray, IntptrTy), in InjectCoverageAtBlock()
392 IRB.CreatePointerCast(EightBitCounterArray, IntptrTy), in InjectCoverageAtBlock()
DThreadSanitizer.cpp424 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
425 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
431 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
445 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
478 IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
484 IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
485 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
511 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
525 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
542 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
[all …]
DMemorySanitizer.cpp624 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0)); in paintOrigin()
670 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin()
875 IRB.CreateAnd(IRB.CreatePointerCast(Addr, MS.IntptrTy), in getShadowPtrOffset()
925 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
935 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
943 Value *Base = IRB.CreatePointerCast(MS.RetvalTLS, MS.IntptrTy); in getShadowPtrForRetval()
1616 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison()
1617 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison()
1689 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact()
1690 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact()
[all …]
DAddressSanitizer.cpp794 IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
795 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
800 IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
907 Param[i] = IRB.CreatePointerCast(Param[i], IntptrTy); in instrumentPointerComparisonOrSubtraction()
1026 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1083 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment()
1351 IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1362 IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1718 return IRB.CreatePointerCast(Alloca, IntptrTy); in createAllocaForLayout()
1845 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, IntptrTy); in poisonStack()
[all …]
/external/clang/lib/CodeGen/
DCGCUDANV.cpp100 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in EmitDeviceStubBody()
116 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in EmitDeviceStubBody()
DCGOpenMPRuntime.cpp801 CGF.Builder.CreatePointerCast(VDAddr, CGM.Int8PtrTy), in getAddrOfThreadPrivate()
819 CGF.Builder.CreatePointerCast(VDAddr, CGM.VoidPtrTy), in emitThreadPrivateVarInit()
856 auto Arg = CtorCGF.Builder.CreatePointerCast( in emitThreadPrivateVarDefinition()
DTargetInfo.cpp6289 return Builder.CreatePointerCast(ArgAddr, ArgPtrTy, "arg.addr"); in EmitVAArg()
6491 Val = Builder.CreatePointerCast(AP, ArgPtrTy); in EmitVAArg()
6500 Val = Builder.CreatePointerCast(ArgAddr, ArgPtrTy); in EmitVAArg()
DCGExprScalar.cpp1455 V = CGF.Builder.CreatePointerCast( in VisitCastExpr()
1465 return CGF.Builder.CreatePointerCast(V, ConvertType(CE->getType())); in VisitCastExpr()
DCGBlocks.cpp2229 llvm::Value *BC = Builder.CreatePointerCast(ByrefInfoAddr, DesTy); in emitByrefStructureInit()
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp199 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
203 Builder->CreatePointerCast( in combineLoads()
DMemCpyOptimizer.cpp725 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
731 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
DLoopStrengthReduce.cpp2967 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
/external/llvm/include/llvm/IR/
DNoFolder.h219 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
220 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
DInstrTypes.h461 static CastInst *CreatePointerCast(
469 static CastInst *CreatePointerCast(
DConstantFolder.h160 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
DIRBuilder.h1279 Value *CreatePointerCast(Value *V, Type *DestTy,
1284 return Insert(Folder.CreatePointerCast(VC, DestTy), Name);
1285 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp928 llvm::Value *cast = builder.CreatePointerCast(stringVar, in generateStringPrint()
1297 builder.CreatePointerCast(unwindException, in createCatchWrappedInvokeFunction()
1330 llvm::Value *typeInfoThrown = builder.CreatePointerCast( in createCatchWrappedInvokeFunction()
/external/llvm/unittests/IR/
DInstructionsTest.cpp284 CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty, "foo", BB); in TEST()
287 CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty); in TEST()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h180 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
/external/llvm/lib/IR/
DAutoUpgrade.cpp539 Value *Op = Builder.CreatePointerCast( in UpgradeIntrinsicCall()
DInstructions.cpp2389 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
2407 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
DCore.cpp2641 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2136 BackedgeCount = CastInst::CreatePointerCast(BackedgeCount, IdxTy, in createEmptyLoop()
2216 Count = BypassBuilder.CreatePointerCast(Count, IdxTy, "ptrcnt.to.int"); in createEmptyLoop()
/external/llvm/bindings/go/llvm/
Dir.go1615 func (b Builder) CreatePointerCast(val Value, t Type, name string) (v Value) { func
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli2384 See the method [llvm::LLVMBuilder::CreatePointerCast]. *)