Home
last modified time | relevance | path

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

123

/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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DThreadSanitizer.cpp517 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
518 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())}); in instrumentLoadOrStore()
524 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
538 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
574 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
581 {IRB.CreatePointerCast(M->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
582 IRB.CreatePointerCast(M->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
608 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
623 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
640 Value *Args[] = {IRB.CreatePointerCast(Addr, PtrTy), in instrumentAtomic()
[all …]
DSanitizerCoverage.cpp278 {IRB.CreatePointerCast(SecStart, Ty), IRB.CreatePointerCast(SecEnd, Ty)}); in CreateInitCallsForSections()
401 {IRB.CreatePointerCast(SecStartEnd.first, IntptrPtrTy), in runOnModule()
402 IRB.CreatePointerCast(SecStartEnd.second, IntptrPtrTy)}); in runOnModule()
569 PCs.push_back((Constant *)IRB.CreatePointerCast(&F, IntptrPtrTy)); in CreatePCArray()
573 PCs.push_back((Constant *)IRB.CreatePointerCast( in CreatePCArray()
638 IRB.CreateCall(SanCovTracePCIndir, IRB.CreatePointerCast(Callee, IntptrTy)); in InjectCoverageForIndirectCalls()
680 {Cond, IRB.CreatePointerCast(GV, Int64PtrTy)}); in InjectTraceForSwitch()
774 IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy), in InjectCoverageAtBlock()
DHWAddressSanitizer.cpp396 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in untagPointerOperand()
483 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentMemAccess()
524 {IRB.CreatePointerCast(AI, IntptrTy), JustTag, in tagAlloca()
529 memToShadow(IRB.CreatePointerCast(AI, IntptrTy), AI->getType(), IRB), in tagAlloca()
572 Value *StackPointerLong = IRB.CreatePointerCast(StackPointer, IntptrTy); in getStackBaseTag()
648 Value *AILong = IRB.CreatePointerCast(AI, IntptrTy); in instrumentStack()
DAddressSanitizer.cpp1170 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1171 IRB.CreatePointerCast(MI->getOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1176 {IRB.CreatePointerCast(MI->getOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
1334 i = IRB.CreatePointerCast(i, IntptrTy); in instrumentPointerComparisonOrSubtraction()
1512 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentAddress()
1590 Value *AddrLong = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentUnusualSizeOrAlignment()
1942 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy), in InstrumentGlobalsELF()
1943 IRB.CreatePointerCast(StartELFMetadata, IntptrTy), in InstrumentGlobalsELF()
1944 IRB.CreatePointerCast(StopELFMetadata, IntptrTy)}); in InstrumentGlobalsELF()
1950 {IRB.CreatePointerCast(RegisteredFlag, IntptrTy), in InstrumentGlobalsELF()
[all …]
DMemorySanitizer.cpp847 IRB.CreatePointerCast(OriginPtr, PointerType::get(MS.IntptrTy, 0)); in paintOrigin()
891 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in storeOrigin()
1091 Value *OffsetLong = IRB.CreatePointerCast(Addr, MS.IntptrTy); in getShadowPtrOffset()
1156 Value *Base = IRB.CreatePointerCast(MS.ParamTLS, MS.IntptrTy); in getShadowPtrForArgument()
1167 Value *Base = IRB.CreatePointerCast(MS.ParamOriginTLS, MS.IntptrTy); in getOriginPtrForArgument()
1176 return IRB.CreatePointerCast(MS.RetvalTLS, in getShadowPtrForRetval()
1890 A = IRB.CreatePointerCast(A, Sa->getType()); in handleEqualityComparison()
1891 B = IRB.CreatePointerCast(B, Sb->getType()); in handleEqualityComparison()
1963 A = IRB.CreatePointerCast(A, Sa->getType()); in handleRelationalComparisonExact()
1964 B = IRB.CreatePointerCast(B, Sb->getType()); in handleRelationalComparisonExact()
[all …]
DEfficiencySanitizer.cpp702 {IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore()
715 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
729 {IRB.CreatePointerCast(MI->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
737 {IRB.CreatePointerCast(MI->getArgOperand(0), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
738 IRB.CreatePointerCast(MI->getArgOperand(1), IRB.getInt8PtrTy()), in instrumentMemIntrinsic()
893 Value *AddrPtr = IRB.CreatePointerCast(Addr, IntptrTy); in instrumentFastpathWorkingSet()
/external/llvm/lib/Transforms/Scalar/
DLoadCombine.cpp212 Builder->CreatePointerCast(Loads[0].POP.Pointer, in combineLoads()
216 Builder->CreatePointerCast( in combineLoads()
/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
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DNoFolder.h255 Instruction *CreatePointerCast(Constant *C, Type *DestTy) const { in CreatePointerCast() function
256 return CastInst::CreatePointerCast(C, DestTy); in CreatePointerCast()
/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()
/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.cc77 b->CreatePointerCast(operands[i], PrimitiveTypeToIrType(TUPLE, module)), in EmitTuple()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp183 return CastInst::CreatePointerCast( in runOnFunction()
/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/swiftshader/third_party/llvm-7.0/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp878 llvm::Value *cast = builder.CreatePointerCast(stringVar, in generateStringPrint()
1248 builder.CreatePointerCast(unwindException, in createCatchWrappedInvokeFunction()
1281 llvm::Value *typeInfoThrown = builder.CreatePointerCast( in createCatchWrappedInvokeFunction()
/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.cc219 return b->CreatePointerCast(ptr, b->getInt8PtrTy()); in GetArrayFunctionCallArguments()

123