Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp276 IRB.CreatePointerCast(RealGuardArray, Int32PtrTy)); in runOnModule()
289 IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy)); in runOnModule()
305 {IRB.CreatePointerCast(RealGuardArray, Int32PtrTy), in runOnModule()
308 ? IRB.CreatePointerCast(RealEightBitCounterArray, Int8PtrTy) in runOnModule()
310 IRB.CreatePointerCast(ModuleName, Int8PtrTy)}); in runOnModule()
444 IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls()
447 {IRB.CreatePointerCast(Callee, IntptrTy), in InjectCoverageForIndirectCalls()
448 IRB.CreatePointerCast(CalleeCache, IntptrTy)}); in InjectCoverageForIndirectCalls()
485 {Cond, IRB.CreatePointerCast(GV, Int64PtrTy)}); in InjectTraceForSwitch()
542 IRB.CreatePointerCast(GuardArray, IntptrTy), in InjectCoverageAtBlock()
[all …]
DThreadSanitizer.cpp481 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
482 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())}); in instrumentLoadOrStore()
488 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
502 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
538 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
545 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
546 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
577 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
598 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
615 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
[all …]
DMemorySanitizer.cpp693 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0)); in paintOrigin()
739 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin()
941 Value *OffsetLong = IRB.CreatePointerCast(Addr, MS.IntptrTy); in getShadowPtrOffset()
995 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
1005 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
1013 Value *Base = IRB.CreatePointerCast(MS.RetvalTLS, MS.IntptrTy); in getShadowPtrForRetval()
1698 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison()
1699 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison()
1771 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact()
1772 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact()
[all …]
DEfficiencySanitizer.cpp688 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
701 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
715 {IRB.CreatePointerCast(MI->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
723 {IRB.CreatePointerCast(MI->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
724 IRB.CreatePointerCast(MI->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
879 Value *AddrPtr = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentFastpathWorkingSet()
DAddressSanitizer.cpp900 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
901 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
906 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1023 i = IRB.CreatePointerCast(i, IntptrTy); in instrumentPointerComparisonOrSubtraction()
1142 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1203 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment()
1587 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy)}); in InstrumentGlobals()
1590 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
1604 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy)}); in InstrumentGlobals()
1607 {IRB.CreatePointerCast(AllGlobals, IntptrTy), in InstrumentGlobals()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp212 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
216 Builder->CreatePointerCast( in combineLoads()
DMemCpyOptimizer.cpp918 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
924 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DNoFolder.h206 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
207 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
DConstantFolder.h159 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
DTargetFolder.h179 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
DIRBuilder.h988 Value *CreatePointerCast(Value *V, Type *DestTy,
993 return Insert(Folder.CreatePointerCast(VC, DestTy), Name);
994 return Insert(CastInst::CreatePointerCast(V, DestTy), Name);
/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.h642 static CastInst *CreatePointerCast(
650 static CastInst *CreatePointerCast(
/external/clang/lib/CodeGen/
DCGCUDABuiltin.cpp110 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx)); in EmitCUDADevicePrintfCallExpr()
DCGCUDANV.cpp140 Args[0] = CGF.Builder.CreatePointerCast(ArgValues[I], VoidPtrTy); in emitDeviceStubBody()
156 llvm::Value *Arg = CGF.Builder.CreatePointerCast(CGF.CurFn, CharPtrTy); in emitDeviceStubBody()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc78 ir_builder->CreatePointerCast(operands[i], in EmitTuple()
Dir_array.cc303 ir_builder->CreatePointerCast(base_ptr_, new_ir_type->getPointerTo()), in CastToShape()
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/
DExceptionDemo.cpp905 llvm::Value *cast = builder.CreatePointerCast(stringVar, in generateStringPrint()
1302 llvm::Value *functPtr = builder.CreatePointerCast(personality, in createCatchWrappedInvokeFunction()
1335 builder.CreatePointerCast(unwindException, in createCatchWrappedInvokeFunction()
1368 llvm::Value *typeInfoThrown = builder.CreatePointerCast( in createCatchWrappedInvokeFunction()
/external/swiftshader/third_party/LLVM/include/llvm/
DInstrTypes.h465 static CastInst *CreatePointerCast(
473 static CastInst *CreatePointerCast(
/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/tensorflow/tensorflow/compiler/xla/service/cpu/
Dir_function.cc218 return ir_builder->CreatePointerCast(ptr, ir_builder->getInt8PtrTy()); in GetArrayFunctionCallArguments()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h180 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
/external/llvm/unittests/IR/
DInstructionsTest.cpp284 auto Inst1 = CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty, "foo", BB); in TEST()
287 auto Inst2 = CastInst::CreatePointerCast(NullV2I32Ptr, V2Int32Ty); in TEST()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DMemCpyOptimizer.cpp673 cpyDest = CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn()
679 CS.setArgument(i, CastInst::CreatePointerCast(cpyDest, in performCallSlotOptzn()

12