/external/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 276 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 …]
|
D | ThreadSanitizer.cpp | 481 {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 …]
|
D | MemorySanitizer.cpp | 693 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 …]
|
D | EfficiencySanitizer.cpp | 688 {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()
|
D | AddressSanitizer.cpp | 900 {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/ |
D | LoadCombine.cpp | 212 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads() 216 Builder->CreatePointerCast( in combineLoads()
|
D | MemCpyOptimizer.cpp | 918 : CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn() 924 CS.setArgument(i, CastInst::CreatePointerCast(Dest, in performCallSlotOptzn()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | NoFolder.h | 206 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function 207 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
|
D | ConstantFolder.h | 159 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
D | TargetFolder.h | 179 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
D | IRBuilder.h | 988 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/ |
D | NoFolder.h | 219 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function 220 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
|
D | ConstantFolder.h | 160 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
D | InstrTypes.h | 642 static CastInst *CreatePointerCast( 650 static CastInst *CreatePointerCast(
|
/external/clang/lib/CodeGen/ |
D | CGCUDABuiltin.cpp | 110 BufferPtr = Builder.CreatePointerCast(Alloca, llvm::Type::getInt8PtrTy(Ctx)); in EmitCUDADevicePrintfCallExpr()
|
D | CGCUDANV.cpp | 140 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/ |
D | tuple_ops.cc | 78 ir_builder->CreatePointerCast(operands[i], in EmitTuple()
|
D | ir_array.cc | 303 ir_builder->CreatePointerCast(base_ptr_, new_ir_type->getPointerTo()), in CastToShape()
|
/external/swiftshader/third_party/LLVM/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 905 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/ |
D | InstrTypes.h | 465 static CastInst *CreatePointerCast( 473 static CastInst *CreatePointerCast(
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 929 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/ |
D | ir_function.cc | 218 return ir_builder->CreatePointerCast(ptr, ir_builder->getInt8PtrTy()); in GetArrayFunctionCallArguments()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 180 Constant *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
|
/external/llvm/unittests/IR/ |
D | InstructionsTest.cpp | 284 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/ |
D | MemCpyOptimizer.cpp | 673 cpyDest = CastInst::CreatePointerCast(cpyDest, cpySrc->getType(), in performCallSlotOptzn() 679 CS.setArgument(i, CastInst::CreatePointerCast(cpyDest, in performCallSlotOptzn()
|