/external/swiftshader/third_party/LLVM/lib/Analysis/ |
DIBuilder.cpp | 25 static Constant *GetTagConstant(LLVMContext &VMContext, unsigned Tag) { 28 return ConstantInt::get(Type::getInt32Ty(VMContext), Tag | LLVMDebugVersion); 32 : M(m), VMContext(M.getContext()), TheCU(0), TempEnumTypes(0), 83 Value *TElts[] = { GetTagConstant(VMContext, DW_TAG_base_type) }; 84 TempEnumTypes = MDNode::getTemporary(VMContext, TElts); 86 MDNode *EnumHolder = MDNode::get(VMContext, THElts); 88 TempRetainTypes = MDNode::getTemporary(VMContext, TElts); 90 MDNode *RetainHolder = MDNode::get(VMContext, TRElts); 92 TempSubprograms = MDNode::getTemporary(VMContext, TElts); 94 MDNode *SPHolder = MDNode::get(VMContext, TSElts) [all...] |
DebugInfo.cpp | 904 LLVMContext &VMContext) { 910 return DIVariable(MDNode::get(VMContext, Elts)); 914 DIVariable llvm::cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext) { 919 Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext))): 921 return DIVariable(MDNode::get(VMContext, Elts)); [all...] |
/external/llvm/lib/IR/ |
DIBuilder.cpp | 28 : M(m), VMContext(M.getContext()), CUNode(nullptr), 49 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); 62 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); 64 DISubprogramArray SPs = MDTuple::get(VMContext, AllSubprograms); 86 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); 90 VMContext, SmallVector<Metadata *, 16>(AllImportedModules.begin(), 124 VMContext, Lang, DIFile::get(VMContext, Filename, Directory), Producer, 151 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, 158 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/ |
DIBuilder.cpp | 35 : M(m), VMContext(M.getContext()), CUNode(CU), 76 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); 89 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); 91 DISubprogramArray SPs = MDTuple::get(VMContext, AllSubprograms); 99 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); 103 VMContext, SmallVector<Metadata *, 16>(AllImportedModules.begin(), 109 CUNode->replaceMacros(MDTuple::get(VMContext, I.second.getArrayRef())); 114 auto *MF = DIMacroFile::get(VMContext, dwarf::DW_MACINFO_start_file, 150 VMContext, Lang, File, Producer, isOptimized, Flags, RunTimeVer, 180 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module [all...] |
/external/clang/lib/CodeGen/ |
SanitizerMetadata.cpp | 36 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); 42 GlobalName = llvm::MDString::get(VMContext, Name); 48 llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), IsDynInit)), 50 llvm::Type::getInt1Ty(VMContext), IsBlacklisted))}; 52 llvm::MDNode *ThisGlobal = llvm::MDNode::get(VMContext, GlobalMetadata); 86 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); 88 llvm::MDString::get(VMContext, PLoc.getFilename()), 90 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), 92 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), 94 return llvm::MDNode::get(VMContext, LocMetadata) [all...] |
ObjectFilePCHContainerOperations.cpp | 55 std::unique_ptr<llvm::LLVMContext> VMContext; 165 VMContext.reset(new llvm::LLVMContext()); 166 M.reset(new llvm::Module(MainFileName, *VMContext)); 230 assert(M && VMContext && Builder); 232 std::unique_ptr<llvm::LLVMContext> VMContext = std::move(this->VMContext); 261 auto Int8Ty = llvm::Type::getInt8Ty(*VMContext); 264 *VMContext, StringRef(SerializedAST.data(), Size),
|
CodeGenTypes.cpp | 286 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, 291 return llvm::Type::getHalfTy(VMContext); 293 return llvm::Type::getInt16Ty(VMContext); 296 return llvm::Type::getFloatTy(VMContext); 298 return llvm::Type::getDoubleTy(VMContext); 300 return llvm::Type::getFP128Ty(VMContext); 302 return llvm::Type::getPPC_FP128Ty(VMContext); 304 return llvm::Type::getX86_FP80Ty(VMContext);
|
CGObjCGNU.cpp | 182 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str); 299 llvm::LLVMContext &VMContext; [all...] |
CGExprConstant.cpp | 609 llvm::LLVMContext &VMContext; 612 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) { [all...] |
CodeGenAction.cpp | 661 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), 667 delete VMContext; 691 return VMContext; 735 getLazyBitcodeModule(std::move(*BCBuf), *VMContext); 757 OS, *VMContext, CoverageInfo)); 803 VMContext->enableDebugTypeODRUniquing(); 806 TheModule = parseIR(MainFile->getMemBufferRef(), Err, *VMContext); [all...] |
CodeGenTBAA.h | 92 CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext &VMContext,
|
CodeGenTBAA.cpp | 32 CodeGenTBAA::CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext& VMContext, 36 MDHelper(VMContext), Root(nullptr), Char(nullptr) {
|
CGObjCMac.cpp | 51 llvm::LLVMContext &VMContext; 107 llvm::Type *longDoubleType = llvm::Type::getX86_FP80Ty(VMContext); 815 llvm::LLVMContext &VMContext; [all...] |
CGExprScalar.cpp | 65 llvm::LLVMContext &VMContext; 70 VMContext(cgf.getLLVMContext()) { 229 return llvm::ConstantFP::get(VMContext, E->getValue()); 624 llvm::Value *Max = llvm::ConstantInt::get(VMContext, LargestInt); 628 llvm::Value *Min = llvm::ConstantInt::get(VMContext, -LargestInt); 678 Builder.CreateFCmpOGT(Src, llvm::ConstantFP::get(VMContext, MinSrc)); 680 Builder.CreateFCmpOLT(Src, llvm::ConstantFP::get(VMContext, MaxSrc)); 716 Builder.CreateFCmpOGT(AbsSrc, llvm::ConstantFP::get(VMContext, MinBad)); 718 Builder.CreateFCmpOLT(AbsSrc, llvm::ConstantFP::get(VMContext, MaxBad)); [all...] |
CodeGenModule.cpp | 90 VMContext(M.getContext()), Types(*this), VTables(*this), 127 TBAA.reset(new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), 396 getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext)); 435 llvm::MDString::get(VMContext, "StrictVTablePointers"), 437 llvm::Type::getInt32Ty(VMContext), 1))}; 441 llvm::MDNode::get(VMContext, Ops)); [all...] |
CodeGenModule.h | 274 llvm::LLVMContext &VMContext; 618 llvm::LLVMContext &getLLVMContext() { return VMContext; } [all...] |
ItaniumCXXABI.cpp | [all...] |
TargetInfo.cpp | [all...] |
MicrosoftCXXABI.cpp | [all...] |
/external/clang/include/clang/CodeGen/ |
CodeGenAction.h | 31 llvm::LLVMContext *VMContext;
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
DebugInfo.h | 786 LLVMContext &VMContext); 789 DIVariable cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext);
|
DIBuilder.h | 49 LLVMContext & VMContext;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
DIBuilder.h | 44 LLVMContext &VMContext; 641 VMContext, {dwarf::DW_OP_constu, Val, dwarf::DW_OP_stack_value}); [all...] |
/external/llvm/include/llvm/IR/ |
DIBuilder.h | 36 LLVMContext &VMContext; [all...] |