Home
last modified time | relevance | path

Searched refs:VMContext (Results 1 – 18 of 18) sorted by relevance

/external/llvm/lib/VMCore/
DDIBuilder.cpp26 static Constant *GetTagConstant(LLVMContext &VMContext, unsigned Tag) { in GetTagConstant() argument
29 return ConstantInt::get(Type::getInt32Ty(VMContext), Tag | LLVMDebugVersion); in GetTagConstant()
33 : M(m), VMContext(M.getContext()), TheCU(0), TempEnumTypes(0), in DIBuilder()
85 Value *TElts[] = { GetTagConstant(VMContext, DW_TAG_base_type) }; in createCompileUnit()
86 TempEnumTypes = MDNode::getTemporary(VMContext, TElts); in createCompileUnit()
88 MDNode *EnumHolder = MDNode::get(VMContext, THElts); in createCompileUnit()
90 TempRetainTypes = MDNode::getTemporary(VMContext, TElts); in createCompileUnit()
92 MDNode *RetainHolder = MDNode::get(VMContext, TRElts); in createCompileUnit()
94 TempSubprograms = MDNode::getTemporary(VMContext, TElts); in createCompileUnit()
96 MDNode *SPHolder = MDNode::get(VMContext, TSElts); in createCompileUnit()
[all …]
DDebugInfo.cpp722 LLVMContext &VMContext) { in createInlinedVariable() argument
728 return DIVariable(MDNode::get(VMContext, Elts)); in createInlinedVariable()
732 DIVariable llvm::cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext) { in cleanseInlinedVariable() argument
737 Elts.push_back(Constant::getNullValue(Type::getInt32Ty(VMContext))): in cleanseInlinedVariable()
739 return DIVariable(MDNode::get(VMContext, Elts)); in cleanseInlinedVariable()
/external/clang/lib/CodeGen/
DCodeGenAction.cpp270 VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction()
276 delete VMContext; in ~CodeGenAction()
300 return VMContext; in takeLLVMContext()
346 LinkModuleToUse = getLazyBitcodeModule(BCBuf, *VMContext, &ErrorStr); in CreateASTConsumer()
359 LinkModuleToUse, OS.take(), *VMContext); in CreateASTConsumer()
385 TheModule.reset(ParseIR(MainFileCopy, Err, *VMContext)); in ExecuteAction()
DCodeGenTypes.cpp264 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() argument
267 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat()
269 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat()
271 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat()
273 return llvm::Type::getFP128Ty(VMContext); in getTypeForFormat()
275 return llvm::Type::getPPC_FP128Ty(VMContext); in getTypeForFormat()
277 return llvm::Type::getX86_FP80Ty(VMContext); in getTypeForFormat()
DCodeGenTBAA.cpp29 CodeGenTBAA::CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext& VMContext, in CodeGenTBAA() argument
33 MDHelper(VMContext), Root(0), Char(0) { in CodeGenTBAA()
DCGObjCGNU.cpp187 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str); in ExportUniqueString()
239 llvm::LLVMContext &VMContext; member in __anonc48cdb380111::CGObjCGNU
645 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
752 VMContext(cgm.getLLVMContext()), ClassPtrAlias(0), MetaClassPtrAlias(0), in CGObjCGNU()
755 msgSendMDKind = VMContext.getMDKindID("GNUObjCMessageSend"); in CGObjCGNU()
768 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU()
786 Int32Ty = llvm::Type::getInt32Ty(VMContext); in CGObjCGNU()
787 Int64Ty = llvm::Type::getInt64Ty(VMContext); in CGObjCGNU()
806 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNU()
1160 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSendSuper()
[all …]
DCGExprConstant.cpp618 llvm::LLVMContext &VMContext; member in __anonc5847e190111::ConstExprEmitter
621 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) { in ConstExprEmitter()
891 return llvm::ConstantDataArray::getString(VMContext, Str, false); in VisitObjCEncodeExpr()
1114 return llvm::ConstantInt::get(VMContext, Value.getInt()); in EmitConstantValue()
1118 Complex[0] = llvm::ConstantInt::get(VMContext, in EmitConstantValue()
1120 Complex[1] = llvm::ConstantInt::get(VMContext, in EmitConstantValue()
1132 return llvm::ConstantInt::get(VMContext, Init.bitcastToAPInt()); in EmitConstantValue()
1134 return llvm::ConstantFP::get(VMContext, Init); in EmitConstantValue()
1139 Complex[0] = llvm::ConstantFP::get(VMContext, in EmitConstantValue()
1141 Complex[1] = llvm::ConstantFP::get(VMContext, in EmitConstantValue()
[all …]
DCodeGenTBAA.h64 CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext &VMContext,
DCGObjCMac.cpp52 llvm::LLVMContext &VMContext; member in __anonbfb9a2bf0111::ObjCCommonTypesHelper
105 llvm::Type *longDoubleType = llvm::Type::getX86_FP80Ty(VMContext); in getMessageSendFp2retFn()
757 llvm::LLVMContext &VMContext; member in __anonbfb9a2bf0111::CGObjCCommonMac
941 CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) { } in CGObjCCommonMac()
1533 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext, in getConstantGEP() argument
1538 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0), in getConstantGEP()
1539 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1) in getConstantGEP()
3634 llvm::MDString::get(VMContext,Section)); in EmitImageInfo()
3653 llvm::MDString::get(VMContext, "Objective-C Garbage Collection"), in EmitImageInfo()
3654 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), in EmitImageInfo()
[all …]
DCGRTTI.cpp27 llvm::LLVMContext &VMContext; member in __anonc3d454330111::RTTIBuilder
66 VMContext(CGM.getModule().getContext()) { } in RTTIBuilder()
124 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetAddrOfTypeName()
DCodeGenModule.cpp76 VMContext(M.getContext()), in CodeGenModule()
108 TBAA = new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), in CodeGenModule()
1689 llvm::MDNode *ThisGlobal = llvm::MDNode::get(VMContext, GlobalToAdd); in EmitGlobalVarDefinition()
2071 C = llvm::ConstantDataArray::get(VMContext, Arr); in GetAddrOfConstantCFString()
2073 C = llvm::ConstantDataArray::getString(VMContext, Entry.getKey()); in GetAddrOfConstantCFString()
2212 llvm::ConstantDataArray::getString(VMContext, Entry.getKey()); in GetAddrOfConstantString()
2294 return llvm::ConstantDataArray::getString(VMContext, Str, false); in GetConstantArrayFromStringLiteral()
2310 return llvm::ConstantDataArray::get(VMContext, Elements); in GetConstantArrayFromStringLiteral()
2320 return llvm::ConstantDataArray::get(VMContext, Elements); in GetConstantArrayFromStringLiteral()
DCGExprScalar.cpp63 llvm::LLVMContext &VMContext; member in __anon165fdee50111::ScalarExprEmitter
68 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter()
177 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral()
1376 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
1379 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
1386 amt = llvm::ConstantFP::get(VMContext, F); in EmitScalarPrePostIncDec()
2406 llvm::PHINode *PN = llvm::PHINode::Create(llvm::Type::getInt1Ty(VMContext), 2, in VisitBinLAnd()
2410 PN->addIncoming(llvm::ConstantInt::getFalse(VMContext), *PI); in VisitBinLAnd()
2473 llvm::PHINode *PN = llvm::PHINode::Create(llvm::Type::getInt1Ty(VMContext), 2, in VisitBinLOr()
2477 PN->addIncoming(llvm::ConstantInt::getTrue(VMContext), *PI); in VisitBinLOr()
DCodeGenModule.h337 llvm::LLVMContext &VMContext; variable
456 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext()
DCGExpr.cpp1074 llvm::LLVMContext &VMContext = getLLVMContext(); in EmitStoreOfScalar() local
1079 llvm::Type::getInt32Ty(VMContext), in EmitStoreOfScalar()
1082 llvm::Type::getInt32Ty(VMContext), in EmitStoreOfScalar()
1085 llvm::Type::getInt32Ty(VMContext), in EmitStoreOfScalar()
1087 Mask.push_back(llvm::UndefValue::get(llvm::Type::getInt32Ty(VMContext))); in EmitStoreOfScalar()
DTargetInfo.cpp2870 llvm::LLVMContext &VMContext) { in isIntegerLikeType() argument
2895 return isIntegerLikeType(CT->getElementType(), Context, VMContext); in isIntegerLikeType()
2927 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
2937 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
/external/clang/include/clang/CodeGen/
DCodeGenAction.h29 llvm::LLVMContext *VMContext; variable
/external/llvm/include/llvm/
DDIBuilder.h50 LLVMContext & VMContext; variable
DDebugInfo.h820 LLVMContext &VMContext);
823 DIVariable cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext);