Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp249 IRB.CreatePointerCast(RealGuardArray, Int32PtrTy)); in runOnModule()
263 IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy)); in runOnModule()
278 {IRB.CreatePointerCast(RealGuardArray, Int32PtrTy), in runOnModule()
281 ? IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy) in runOnModule()
283 IRB.CreatePointerCast(ModuleName, Int8PtrTy)}); in runOnModule()
369 {IRB.CreatePointerCast(Callee, IntptrTy), in InjectCoverageForIndirectCalls()
370 IRB.CreatePointerCast(CalleeCache, IntptrTy)}); in InjectCoverageForIndirectCalls()
407 {Cond, IRB.CreatePointerCast(GV, Int64PtrTy)}); in InjectTraceForSwitch()
464 IRB.CreatePointerCast(GuardArray, IntptrTy), in InjectCoverageAtBlock()
490 IRB.CreatePointerCast(EightBitCounterArray, IntptrTy), in InjectCoverageAtBlock()
DThreadSanitizer.cpp429 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
430 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())}); in instrumentLoadOrStore()
436 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
450 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
484 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
491 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
492 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
518 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
532 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
549 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
[all …]
DMemorySanitizer.cpp672 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0)); in paintOrigin()
718 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin()
920 Value *OffsetLong = IRB.CreatePointerCast(Addr, MS.IntptrTy); in getShadowPtrOffset()
974 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
984 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
992 Value *Base = IRB.CreatePointerCast(MS.RetvalTLS, MS.IntptrTy); in getShadowPtrForRetval()
1677 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison()
1678 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison()
1750 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact()
1751 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact()
[all …]
DAddressSanitizer.cpp838 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
839 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
844 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
953 Param[i] = IRB.CreatePointerCast(Param[i], IntptrTy); in instrumentPointerComparisonOrSubtraction()
1072 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1133 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment()
1409 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1420 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1813 return IRB.CreatePointerCast(Alloca, IntptrTy); in createAllocaForLayout()
1967 Value *Description = IRB.CreatePointerCast(StackDescriptionGlobal, IntptrTy); in poisonStack()
[all …]
DInstrProfiling.cpp493 IRB.CreateCall(SetNameF, IRB.CreatePointerCast(ProfileName, Int8PtrTy)); in emitInitialization()
DSafeStack.cpp632 Value *NewAI = IRB.CreatePointerCast(NewTop, AI->getType()); in moveDynamicAllocasToUnsafeStack()
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp200 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
204 Builder->CreatePointerCast( in combineLoads()
DMemCpyOptimizer.cpp727 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
733 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
DLoopStrengthReduce.cpp2942 IVOper = Builder.CreatePointerCast(IVSrc, PostIncTy, "lsr.chain"); in GenerateIVChain()
/external/clang/lib/CodeGen/
DCGCUDANV.cpp138 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in emitDeviceStubBody()
154 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
DCGOpenMPRuntime.cpp1065 CGF.Builder.CreatePointerCast(VDAddr.getPointer(), in getAddrOfThreadPrivate()
1085 CGF.Builder.CreatePointerCast(VDAddr.getPointer(), in emitThreadPrivateVarInit()
/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()
DConstantFolder.h160 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
DInstrTypes.h662 static CastInst *CreatePointerCast(
670 static CastInst *CreatePointerCast(
DIRBuilder.h1352 Value *CreatePointerCast(Value *V, Type *DestTy,
1357 return Insert(Folder.CreatePointerCast(VC, DestTy), Name);
1358 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp929 llvm::Value *cast = builder.CreatePointerCast(stringVar, in generateStringPrint()
1299 builder.CreatePointerCast(unwindException, in createCatchWrappedInvokeFunction()
1332 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.cpp506 Value *Op = Builder.CreatePointerCast(CI->getArgOperand(0), in UpgradeIntrinsicCall()
DInstructions.cpp2663 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
2681 CastInst *CastInst::CreatePointerCast(Value *S, Type *Ty, in CreatePointerCast() function in CastInst
DCore.cpp2702 return wrap(unwrap(B)->CreatePointerCast(unwrap(Val), unwrap(DestTy), Name)); in LLVMBuildPointerCast()
/external/llvm/bindings/go/llvm/
Dir.go1623 func (b Builder) CreatePointerCast(val Value, t Type, name string) (v Value) { func
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2681 CastInst::CreatePointerCast(TripCount, IdxTy, in getOrCreateTripCount()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli2394 See the method [llvm::LLVMBuilder::CreatePointerCast]. *)
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp10018 return IRB.CreatePointerCast( in getSafeStackPointerLocation()