/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 30 return B.CreateBitCast(V, B.getInt8PtrTy(), "cstr"); in CastToCStr() 52 B.getInt8PtrTy(), in EmitStrLen() 81 B.getInt8PtrTy(), in EmitStrNLen() 105 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrChr() 138 B.getInt8PtrTy(), in EmitStrNCmp() 139 B.getInt8PtrTy(), in EmitStrNCmp() 163 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrCpy() 187 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrNCpy() 216 B.getInt8PtrTy(), in EmitMemCpyChk() 217 B.getInt8PtrTy(), in EmitMemCpyChk() [all …]
|
D | SimplifyLibCalls.cpp | 237 FT->getParamType(0) != Type::getInt8PtrTy(Context) || in callOptimizer() 282 FT->getParamType(0) != Type::getInt8PtrTy(Context) || in callOptimizer() 331 FT->getParamType(0) != Type::getInt8PtrTy(Context) || in callOptimizer() 355 FT->getReturnType() != B.getInt8PtrTy() || in callOptimizer() 405 FT->getReturnType() != B.getInt8PtrTy() || in callOptimizer() 449 FT->getReturnType() != B.getInt8PtrTy() || in callOptimizer() 495 FT->getReturnType() != B.getInt8PtrTy() || in callOptimizer() 533 FT->getParamType(0) != B.getInt8PtrTy()) in callOptimizer() 578 FT->getParamType(0) != B.getInt8PtrTy() || in callOptimizer() 628 FT->getParamType(0) != B.getInt8PtrTy()) in callOptimizer() [all …]
|
D | LowerInvoke.cpp | 122 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() 459 AllocaInst *StackPtr = new AllocaInst(Type::getInt8PtrTy(F.getContext()), 0, in insertExpensiveEHSupport() 490 Type::getInt8PtrTy(F.getContext()), in insertExpensiveEHSupport() 543 Type::getInt8PtrTy(F.getContext()), in insertExpensiveEHSupport()
|
D | InlineFunction.cpp | 358 Type *VoidPtrTy = Type::getInt8PtrTy(Context); in HandleByValArgument() 424 Type *Int8PtrTy = Type::getInt8PtrTy(AI->getType()->getContext()); in hasLifetimeMarkers()
|
/external/llvm/unittests/IR/ |
D | TypeBuilderTest.cpp | 23 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 25 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 27 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 29 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 74 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 81 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 88 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 117 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
|
D | VerifierTest.cpp | 55 GlobalAlias *GA = new GlobalAlias(Type::getInt8PtrTy(C), in TEST()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 138 "__tsan_func_entry", IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL)); in initializeCallbacks() 147 ReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL)); in initializeCallbacks() 151 WriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL)); in initializeCallbacks() 197 "__tsan_vptr_update", IRB.getVoidTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 198 IRB.getInt8PtrTy(), NULL)); in initializeCallbacks() 381 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore() 384 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore() 385 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())); in instrumentLoadOrStore() 390 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
|
D | MemorySanitizer.cpp | 278 "__msan_copy_origin", IRB.getVoidTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 279 IRB.getInt8PtrTy(), IntptrTy, NULL); in initializeCallbacks() 281 "__msan_set_alloca_origin", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, in initializeCallbacks() 282 IRB.getInt8PtrTy(), NULL); in initializeCallbacks() 284 "__msan_poison_stack", IRB.getVoidTy(), IRB.getInt8PtrTy(), IntptrTy, NULL); in initializeCallbacks() 286 "__msan_memmove", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 287 IRB.getInt8PtrTy(), IntptrTy, NULL); in initializeCallbacks() 289 "__msan_memcpy", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), in initializeCallbacks() 292 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(), in initializeCallbacks() 1332 IRB.CreatePointerCast(I.getArgOperand(0), IRB.getInt8PtrTy()), in visitMemMoveInst() [all …]
|
D | GCOVProfiling.cpp | 637 Type::getInt8PtrTy(*Ctx), // const char *orig_filename in getStartFileFunc() 638 Type::getInt8PtrTy(*Ctx), // const char version[4] in getStartFileFunc() 658 Type::getInt8PtrTy(*Ctx), // const char *function_name in getEmitFunctionFunc() 731 Constant::getNullValue(Builder.getInt8PtrTy()), in insertCounterWriteout()
|
D | ProfilingUtils.cpp | 29 PointerType::getUnqual(Type::getInt8PtrTy(Context)); in InsertProfilingInitCall()
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 115 Type::getInt8PtrTy(Context), in AddPrototypes() 116 Type::getInt8PtrTy(Context), in AddPrototypes() 117 Type::getInt8PtrTy(Context), in AddPrototypes() 122 Type::getInt8PtrTy(Context), in AddPrototypes() 123 Type::getInt8PtrTy(Context), in AddPrototypes() 124 Type::getInt8PtrTy(Context), in AddPrototypes() 129 Type::getInt8PtrTy(Context), in AddPrototypes() 130 Type::getInt8PtrTy(Context), in AddPrototypes()
|
D | DwarfEHPrepare.cpp | 128 Type::getInt8PtrTy(Ctx), false); in InsertUnwindResumeCalls() 154 PHINode *PN = PHINode::Create(Type::getInt8PtrTy(Ctx), ResumesSize, in InsertUnwindResumeCalls()
|
D | SjLjEHPrepare.cpp | 93 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() 210 ExnVal = Builder.CreateIntToPtr(ExnVal, Builder.getInt8PtrTy()); in setupFunctionContext() 432 Value *SetjmpArg = Builder.CreateBitCast(JBufPtr, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites() 437 Value *FuncCtxArg = Builder.CreateBitCast(FuncCtx, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites()
|
D | PseudoSourceValue.cpp | 66 Value(Type::getInt8PtrTy(getGlobalContext()), in PseudoSourceValue()
|
D | ShadowStackGC.cpp | 145 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), in Next() 204 Type *VoidPtr = Type::getInt8PtrTy(F.getContext()); in GetFrameMap()
|
D | StackProtector.cpp | 278 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in InsertStackProtectors()
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 896 builder.getInt8PtrTy()); in generateStringPrint() 940 builder.getInt8PtrTy()); in generateIntegerPrint() 991 llvm::PointerType *exceptionStorageType = builder.getInt8PtrTy(); in createFinallyBlock() 1639 builder.getInt8PtrTy(), in createStandardUtilityFunctions() 1722 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1741 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1759 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1795 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1810 retType = builder.getInt8PtrTy(); in createStandardUtilityFunctions() 1831 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 988 Expander.expandCodeFor(Ev->getStart(), Builder.getInt8PtrTy(AddrSpace), in processLoopStridedStore() 1024 Builder.getInt8PtrTy(), in processLoopStridedStore() 1025 Builder.getInt8PtrTy(), IntPtr, in processLoopStridedStore() 1035 Value *PatternPtr = ConstantExpr::getBitCast(GV, Builder.getInt8PtrTy()); in processLoopStridedStore() 1078 Builder.getInt8PtrTy(SI->getPointerAddressSpace()), in processLoopStoreOfLoopLoad() 1094 Builder.getInt8PtrTy(LI->getPointerAddressSpace()), in processLoopStoreOfLoopLoad()
|
/external/llvm/unittests/Bitcode/ |
D | BitReaderTest.cpp | 39 PointerType* Int8Ptr = Type::getInt8PtrTy(Mod->getContext()); in makeLLVMModule()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXLowerAggrCopies.cpp | 57 srcAddr = builder.CreateBitCast(srcAddr, Type::getInt8PtrTy(Context, srcAS)); in convertTransferToLoop() 58 dstAddr = builder.CreateBitCast(dstAddr, Type::getInt8PtrTy(Context, dstAS)); in convertTransferToLoop()
|
/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 48 PT = getInt8PtrTy(PT->getAddressSpace()); in getCastedInt8PtrValue()
|
/external/llvm/include/llvm/IR/ |
D | Type.h | 409 static PointerType *getInt8PtrTy(LLVMContext &C, unsigned AS = 0);
|
/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 730 llvm::Type *I8PtrTy = CGF.Builder.getInt8PtrTy(); in CreateCoercedLoad() 818 llvm::Type *I8PtrTy = CGF.Builder.getInt8PtrTy(); in CreateCoercedStore() 1256 llvm::Type *I8PtrTy = Builder.getInt8PtrTy(); in EmitFunctionProlog() 1329 Ptr = Builder.CreateBitCast(Ptr, Builder.getInt8PtrTy()); in EmitFunctionProlog() 1681 V = Builder.CreateBitCast(V, Builder.getInt8PtrTy()); in EmitFunctionEpilog() 2243 SrcPtr = Builder.CreateBitCast(SrcPtr, Builder.getInt8PtrTy()); in EmitCall() 2442 StorePtr = Builder.CreateBitCast(StorePtr, Builder.getInt8PtrTy()); in EmitCall()
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 58 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 125 if (FTy->getReturnType() == Type::getInt8PtrTy(FTy->getContext()) && in getAllocationData() 331 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext())) in isFreeCall()
|