/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | DIBuilder.cpp | 25 static Constant *GetTagConstant(LLVMContext &VMContext, unsigned Tag) { in GetTagConstant() argument 28 return ConstantInt::get(Type::getInt32Ty(VMContext), Tag | LLVMDebugVersion); in GetTagConstant() 32 : M(m), VMContext(M.getContext()), TheCU(0), TempEnumTypes(0), in DIBuilder() 83 Value *TElts[] = { GetTagConstant(VMContext, DW_TAG_base_type) }; in createCompileUnit() 84 TempEnumTypes = MDNode::getTemporary(VMContext, TElts); in createCompileUnit() 86 MDNode *EnumHolder = MDNode::get(VMContext, THElts); in createCompileUnit() 88 TempRetainTypes = MDNode::getTemporary(VMContext, TElts); in createCompileUnit() 90 MDNode *RetainHolder = MDNode::get(VMContext, TRElts); in createCompileUnit() 92 TempSubprograms = MDNode::getTemporary(VMContext, TElts); in createCompileUnit() 94 MDNode *SPHolder = MDNode::get(VMContext, TSElts); in createCompileUnit() [all …]
|
D | DebugInfo.cpp | 904 LLVMContext &VMContext) { in createInlinedVariable() argument 910 return DIVariable(MDNode::get(VMContext, Elts)); in createInlinedVariable() 914 DIVariable llvm::cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext) { in cleanseInlinedVariable() argument 919 Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext))): in cleanseInlinedVariable() 921 return DIVariable(MDNode::get(VMContext, Elts)); in cleanseInlinedVariable()
|
/external/llvm/lib/IR/ |
D | DIBuilder.cpp | 28 : M(m), VMContext(M.getContext()), CUNode(nullptr), in DIBuilder() 49 CUNode->replaceEnumTypes(MDTuple::get(VMContext, AllEnumTypes)); in finalize() 62 CUNode->replaceRetainedTypes(MDTuple::get(VMContext, RetainValues)); in finalize() 64 DISubprogramArray SPs = MDTuple::get(VMContext, AllSubprograms); in finalize() 86 CUNode->replaceGlobalVariables(MDTuple::get(VMContext, AllGVs)); in finalize() 90 VMContext, SmallVector<Metadata *, 16>(AllImportedModules.begin(), in finalize() 124 VMContext, Lang, DIFile::get(VMContext, Filename, Directory), Producer, in createCompileUnit() 151 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule() 158 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule() 164 return ::createImportedModule(VMContext, dwarf::DW_TAG_imported_module, in createImportedModule() [all …]
|
/external/clang/lib/CodeGen/ |
D | SanitizerMetadata.cpp | 36 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in reportGlobalToASan() local 42 GlobalName = llvm::MDString::get(VMContext, Name); in reportGlobalToASan() 48 llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), IsDynInit)), in reportGlobalToASan() 50 llvm::Type::getInt1Ty(VMContext), IsBlacklisted))}; in reportGlobalToASan() 52 llvm::MDNode *ThisGlobal = llvm::MDNode::get(VMContext, GlobalMetadata); in reportGlobalToASan() 86 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in getLocationMetadata() local 88 llvm::MDString::get(VMContext, PLoc.getFilename()), in getLocationMetadata() 90 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata() 92 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata() 94 return llvm::MDNode::get(VMContext, LocMetadata); in getLocationMetadata()
|
D | ObjectFilePCHContainerOperations.cpp | 55 std::unique_ptr<llvm::LLVMContext> VMContext; member in __anonff359db60111::PCHContainerGenerator 165 VMContext.reset(new llvm::LLVMContext()); in Initialize() 166 M.reset(new llvm::Module(MainFileName, *VMContext)); in Initialize() 230 assert(M && VMContext && Builder); in HandleTranslationUnit() 232 std::unique_ptr<llvm::LLVMContext> VMContext = std::move(this->VMContext); in HandleTranslationUnit() local 261 auto Int8Ty = llvm::Type::getInt8Ty(*VMContext); in HandleTranslationUnit() 264 *VMContext, StringRef(SerializedAST.data(), Size), in HandleTranslationUnit()
|
D | CodeGenTypes.cpp | 286 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() argument 291 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat() 293 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat() 296 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat() 298 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat() 300 return llvm::Type::getFP128Ty(VMContext); in getTypeForFormat() 302 return llvm::Type::getPPC_FP128Ty(VMContext); in getTypeForFormat() 304 return llvm::Type::getX86_FP80Ty(VMContext); in getTypeForFormat()
|
D | CGObjCGNU.cpp | 182 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str); in ExportUniqueString() 299 llvm::LLVMContext &VMContext; member in __anon15190f2f0111::CGObjCGNU 751 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 760 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 769 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 934 VMContext(cgm.getLLVMContext()), ClassPtrAlias(nullptr), in CGObjCGNU() 938 msgSendMDKind = VMContext.getMDKindID("GNUObjCMessageSend"); in CGObjCGNU() 951 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU() 969 Int32Ty = llvm::Type::getInt32Ty(VMContext); in CGObjCGNU() 970 Int64Ty = llvm::Type::getInt64Ty(VMContext); in CGObjCGNU() [all …]
|
D | CodeGenAction.cpp | 661 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction() 667 delete VMContext; in ~CodeGenAction() 691 return VMContext; in takeLLVMContext() 735 getLazyBitcodeModule(std::move(*BCBuf), *VMContext); in CreateASTConsumer() 757 OS, *VMContext, CoverageInfo)); in CreateASTConsumer() 803 VMContext->enableDebugTypeODRUniquing(); in ExecuteAction() 806 TheModule = parseIR(MainFile->getMemBufferRef(), Err, *VMContext); in ExecuteAction()
|
D | CGExprConstant.cpp | 609 llvm::LLVMContext &VMContext; member in __anon84d2c4700111::ConstExprEmitter 612 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) { in ConstExprEmitter() 982 return llvm::ConstantDataArray::getString(VMContext, Str, false); in VisitObjCEncodeExpr() 1340 return llvm::ConstantInt::get(VMContext, Value.getInt()); in EmitConstantValue() 1344 Complex[0] = llvm::ConstantInt::get(VMContext, in EmitConstantValue() 1346 Complex[1] = llvm::ConstantInt::get(VMContext, in EmitConstantValue() 1360 return llvm::ConstantInt::get(VMContext, Init.bitcastToAPInt()); in EmitConstantValue() 1362 return llvm::ConstantFP::get(VMContext, Init); in EmitConstantValue() 1367 Complex[0] = llvm::ConstantFP::get(VMContext, in EmitConstantValue() 1369 Complex[1] = llvm::ConstantFP::get(VMContext, in EmitConstantValue() [all …]
|
D | CGObjCMac.cpp | 51 llvm::LLVMContext &VMContext; member in __anon1045d6b60111::ObjCCommonTypesHelper 107 llvm::Type *longDoubleType = llvm::Type::getX86_FP80Ty(VMContext); in getMessageSendFp2retFn() 815 llvm::LLVMContext &VMContext; member in __anon1045d6b60111::CGObjCCommonMac 1040 CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) { } in CGObjCCommonMac() 1680 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext, in getConstantGEP() argument 1684 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0), in getConstantGEP() 1685 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1) in getConstantGEP() 2581 llvm::ConstantDataArray::getString(VMContext, BitMap, false), in getBitmapBlockLayout() 2583 return getConstantGEP(VMContext, Entry, 0, 0); in getBitmapBlockLayout() 4540 llvm::MDString::get(VMContext,Section)); in EmitImageInfo() [all …]
|
D | CodeGenTBAA.cpp | 32 CodeGenTBAA::CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext& VMContext, in CodeGenTBAA() argument 36 MDHelper(VMContext), Root(nullptr), Char(nullptr) { in CodeGenTBAA()
|
D | CGExprScalar.cpp | 65 llvm::LLVMContext &VMContext; member in __anon47eaa37c0111::ScalarExprEmitter 70 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter() 229 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral() 624 llvm::Value *Max = llvm::ConstantInt::get(VMContext, LargestInt); in EmitFloatConversionCheck() 628 llvm::Value *Min = llvm::ConstantInt::get(VMContext, -LargestInt); in EmitFloatConversionCheck() 678 Builder.CreateFCmpOGT(Src, llvm::ConstantFP::get(VMContext, MinSrc)); in EmitFloatConversionCheck() 680 Builder.CreateFCmpOLT(Src, llvm::ConstantFP::get(VMContext, MaxSrc)); in EmitFloatConversionCheck() 716 Builder.CreateFCmpOGT(AbsSrc, llvm::ConstantFP::get(VMContext, MinBad)); in EmitFloatConversionCheck() 718 Builder.CreateFCmpOLT(AbsSrc, llvm::ConstantFP::get(VMContext, MaxBad)); in EmitFloatConversionCheck() 1777 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec() [all …]
|
D | CodeGenTBAA.h | 92 CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext &VMContext,
|
D | CodeGenModule.cpp | 90 VMContext(M.getContext()), Types(*this), VTables(*this), in CodeGenModule() 127 TBAA.reset(new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), in CodeGenModule() 396 getModule().setProfileSummary(PGOReader->getSummary().getMD(VMContext)); in Release() 435 llvm::MDString::get(VMContext, "StrictVTablePointers"), in Release() 437 llvm::Type::getInt32Ty(VMContext), 1))}; in Release() 441 llvm::MDNode::get(VMContext, Ops)); in Release() 1919 llvm::AttributeSet::get(VMContext, in GetOrCreateLLVMFunction() 3167 C = llvm::ConstantDataArray::get(VMContext, Arr); in GetAddrOfConstantCFString() 3169 C = llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GetAddrOfConstantCFString() 3306 llvm::ConstantDataArray::getString(VMContext, Entry.first()); in GetAddrOfConstantString() [all …]
|
D | CodeGenModule.h | 274 llvm::LLVMContext &VMContext; variable 618 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext()
|
D | ItaniumCXXABI.cpp | 2381 llvm::LLVMContext &VMContext; member in __anon3d6060330311::ItaniumRTTIBuilder 2421 : CGM(ABI.CGM), VMContext(CGM.getModule().getContext()), CXXABI(ABI) {} in ItaniumRTTIBuilder() 2476 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetAddrOfTypeName()
|
D | TargetInfo.cpp | 5350 llvm::LLVMContext &VMContext) { in isIntegerLikeType() argument 5375 return isIntegerLikeType(CT->getElementType(), Context, VMContext); in isIntegerLikeType() 5407 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType() 5417 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
|
D | MicrosoftCXXABI.cpp | 3405 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder() 3417 llvm::LLVMContext &VMContext; member
|
/external/clang/include/clang/CodeGen/ |
D | CodeGenAction.h | 31 llvm::LLVMContext *VMContext; variable
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | DebugInfo.h | 786 LLVMContext &VMContext); 789 DIVariable cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext);
|
D | DIBuilder.h | 49 LLVMContext & VMContext; variable
|
/external/llvm/include/llvm/IR/ |
D | DIBuilder.h | 36 LLVMContext &VMContext; variable
|