/external/llvm/lib/Transforms/Utils/ |
D | BuildLibCalls.cpp | 32 return B.CreateBitCast(V, B.getInt8PtrTy(), "cstr"); in CastToCStr() 51 B.getInt8PtrTy(), in EmitStrLen() 77 B.getInt8PtrTy(), in EmitStrNLen() 99 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrChr() 127 B.getInt8PtrTy(), in EmitStrNCmp() 128 B.getInt8PtrTy(), in EmitStrNCmp() 151 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrCpy() 173 Type *I8Ptr = B.getInt8PtrTy(); in EmitStrNCpy() 199 B.getInt8PtrTy(), in EmitMemCpyChk() 200 B.getInt8PtrTy(), in EmitMemCpyChk() [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/lib/Transforms/Instrumentation/ |
D | ThreadSanitizer.cpp | 134 "__tsan_func_entry", IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL)); in doInitialization() 143 ReadName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL)); in doInitialization() 147 WriteName, IRB.getVoidTy(), IRB.getInt8PtrTy(), NULL)); in doInitialization() 163 "__tsan_vptr_update", IRB.getVoidTy(), IRB.getInt8PtrTy(), in doInitialization() 164 IRB.getInt8PtrTy(), NULL)); in doInitialization() 326 StoredValue = IRB.CreateIntToPtr(StoredValue, IRB.getInt8PtrTy()); in instrumentLoadOrStore() 329 IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy()), in instrumentLoadOrStore() 330 IRB.CreatePointerCast(StoredValue, IRB.getInt8PtrTy())); in instrumentLoadOrStore() 335 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()
|
D | ProfilingUtils.cpp | 29 PointerType::getUnqual(Type::getInt8PtrTy(Context)); in InsertProfilingInitCall()
|
D | GCOVProfiling.cpp | 579 Type::getInt8PtrTy(*Ctx), false); in getStartFileFunc() 597 Type::getInt8PtrTy(*Ctx), // const char *function_name in getEmitFunctionFunc()
|
/external/llvm/unittests/VMCore/ |
D | TypeBuilderTest.cpp | 24 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 26 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 28 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 30 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST() 75 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 82 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 89 EXPECT_EQ(PointerType::getUnqual(Type::getInt8PtrTy(getGlobalContext())), in TEST() 118 EXPECT_EQ(Type::getInt8PtrTy(getGlobalContext()), in TEST()
|
D | VerifierTest.cpp | 55 GlobalAlias *GA = new GlobalAlias(Type::getInt8PtrTy(C), in TEST()
|
/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() 423 Value *SetjmpArg = Builder.CreateBitCast(JBufPtr, Builder.getInt8PtrTy()); in setupEntryBlockAndCallSites() 428 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 | 191 PointerType *PtrTy = Type::getInt8PtrTy(RI->getContext()); in InsertStackProtectors()
|
/external/llvm/examples/ExceptionDemo/ |
D | ExceptionDemo.cpp | 899 builder.getInt8PtrTy()); in generateStringPrint() 943 builder.getInt8PtrTy()); in generateIntegerPrint() 994 llvm::PointerType *exceptionStorageType = builder.getInt8PtrTy(); in createFinallyBlock() 1642 builder.getInt8PtrTy(), in createStandardUtilityFunctions() 1727 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1746 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1764 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1800 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() 1815 retType = builder.getInt8PtrTy(); in createStandardUtilityFunctions() 1836 argTypes.push_back(builder.getInt8PtrTy()); in createStandardUtilityFunctions() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 486 Expander.expandCodeFor(Ev->getStart(), Builder.getInt8PtrTy(AddrSpace), in processLoopStridedStore() 522 Builder.getInt8PtrTy(), in processLoopStridedStore() 523 Builder.getInt8PtrTy(), IntPtr, in processLoopStridedStore() 533 Value *PatternPtr = ConstantExpr::getBitCast(GV, Builder.getInt8PtrTy()); in processLoopStridedStore() 576 Builder.getInt8PtrTy(SI->getPointerAddressSpace()), in processLoopStoreOfLoopLoad() 592 Builder.getInt8PtrTy(LI->getPointerAddressSpace()), in processLoopStoreOfLoopLoad()
|
D | SimplifyLibCalls.cpp | 144 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer() 196 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer() 243 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer() 292 FT->getReturnType() != B.getInt8PtrTy() || in CallOptimizer() 333 FT->getParamType(0) != B.getInt8PtrTy()) in CallOptimizer() 381 FT->getParamType(0) != B.getInt8PtrTy() || in CallOptimizer() 440 FT->getParamType(0) != B.getInt8PtrTy()) in CallOptimizer() 481 FT->getParamType(0) != B.getInt8PtrTy()) in CallOptimizer() 519 FT->getParamType(0) != B.getInt8PtrTy() || in CallOptimizer() 567 FT->getParamType(0) != B.getInt8PtrTy() || in CallOptimizer() [all …]
|
/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/VMCore/ |
D | IRBuilder.cpp | 48 PT = getInt8PtrTy(PT->getAddressSpace()); in getCastedInt8PtrValue()
|
/external/llvm/include/llvm/ |
D | Type.h | 387 static PointerType *getInt8PtrTy(LLVMContext &C, unsigned AS = 0);
|
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 774 llvm::Type *i8p = Builder.getInt8PtrTy(); in emitNonZeroVLAInit() 819 llvm::Type *BP = Builder.getInt8PtrTy(DestAS); in EmitNullInitialization() 871 Builder.CreateBitCast(NullVariable, Builder.getInt8PtrTy()); in EmitNullInitialization()
|
/external/llvm/examples/BrainF/ |
D | BrainF.cpp | 58 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header()
|
/external/llvm/tools/lto/ |
D | LTOCodeGenerator.cpp | 316 llvm::Type *i8PTy = llvm::Type::getInt8PtrTy(_context); in applyScopeRestrictions()
|
/external/llvm/lib/Analysis/ |
D | MemoryBuiltins.cpp | 121 if (FTy->getReturnType() == Type::getInt8PtrTy(FTy->getContext()) && in getAllocationData() 327 if (FTy->getParamType(0) != Type::getInt8PtrTy(Callee->getContext())) in isFreeCall()
|