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

/external/llvm/lib/IR/
H A DDIBuilder.cpp26 static Constant *GetTagConstant(LLVMContext &VMContext, unsigned Tag) { argument
29 return ConstantInt::get(Type::getInt32Ty(VMContext), Tag | LLVMDebugVersion);
33 : M(m), VMContext(M.getContext()), TempEnumTypes(0),
77 static MDNode *createFilePathPair(LLVMContext &VMContext, StringRef Filename, argument
81 MDString::get(VMContext, Filename),
82 MDString::get(VMContext, Directory),
84 return MDNode::get(VMContext, Pair);
99 Value *TElts[] = { GetTagConstant(VMContext, DW_TAG_base_type) };
100 TempEnumTypes = MDNode::getTemporary(VMContext, TElts);
102 TempRetainTypes = MDNode::getTemporary(VMContext, TElt
[all...]
H A DDebugInfo.cpp812 LLVMContext &VMContext) {
818 return DIVariable(MDNode::get(VMContext, Elts));
822 DIVariable llvm::cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext) { argument
827 Elts.push_back(Constant::getNullValue(Type::getInt32Ty(VMContext))):
829 return DIVariable(MDNode::get(VMContext, Elts));
811 createInlinedVariable(MDNode *DV, MDNode *InlinedScope, LLVMContext &VMContext) argument
/external/clang/lib/CodeGen/
H A DCodeGenAction.cpp289 VMContext(_VMContext ? _VMContext : new LLVMContext),
295 delete VMContext;
319 return VMContext;
365 LinkModuleToUse = getLazyBitcodeModule(BCBuf, *VMContext, &ErrorStr);
378 LinkModuleToUse, OS.take(), *VMContext);
404 TheModule.reset(ParseIR(MainFileCopy, Err, *VMContext));
H A DCodeGenTypes.cpp270 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, argument
275 return llvm::Type::getHalfTy(VMContext);
277 return llvm::Type::getInt16Ty(VMContext);
280 return llvm::Type::getFloatTy(VMContext);
282 return llvm::Type::getDoubleTy(VMContext);
284 return llvm::Type::getFP128Ty(VMContext);
286 return llvm::Type::getPPC_FP128Ty(VMContext);
288 return llvm::Type::getX86_FP80Ty(VMContext);
H A DCGObjCGNU.cpp185 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str);
285 llvm::LLVMContext &VMContext; member in class:__anon15214::CGObjCGNU
727 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext);
736 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext);
745 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext);
914 VMContext(cgm.getLLVMContext()), ClassPtrAlias(0), MetaClassPtrAlias(0),
917 msgSendMDKind = VMContext.getMDKindID("GNUObjCMessageSend");
930 Int8Ty = llvm::Type::getInt8Ty(VMContext);
948 Int32Ty = llvm::Type::getInt32Ty(VMContext);
949 Int64Ty = llvm::Type::getInt64Ty(VMContext);
[all...]
H A DCGExprConstant.cpp585 llvm::LLVMContext &VMContext; member in class:__anon15205::ConstExprEmitter
588 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) {
862 return llvm::ConstantDataArray::getString(VMContext, Str, false);
1111 return llvm::ConstantInt::get(VMContext, Value.getInt());
1115 Complex[0] = llvm::ConstantInt::get(VMContext,
1117 Complex[1] = llvm::ConstantInt::get(VMContext,
1130 return llvm::ConstantInt::get(VMContext, Init.bitcastToAPInt());
1132 return llvm::ConstantFP::get(VMContext, Init);
1137 Complex[0] = llvm::ConstantFP::get(VMContext,
1139 Complex[1] = llvm::ConstantFP::get(VMContext,
[all...]
H A DCodeGenTBAA.h95 CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext &VMContext,
H A DCodeGenTBAA.cpp32 CodeGenTBAA::CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext& VMContext, argument
36 MDHelper(VMContext), Root(0), Char(0) {
H A DCGObjCMac.cpp50 llvm::LLVMContext &VMContext; member in class:__anon15215::ObjCCommonTypesHelper
106 llvm::Type *longDoubleType = llvm::Type::getX86_FP80Ty(VMContext);
829 llvm::LLVMContext &VMContext; member in class:__anon15215::CGObjCCommonMac
1038 CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) { }
1686 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext, argument
1691 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0),
1692 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1)
2459 llvm::ConstantDataArray::getString(VMContext, BitMap,false),
2461 return getConstantGEP(VMContext, Entry, 0, 0);
4321 llvm::MDString::get(VMContext,Sectio
[all...]
H A DCGExprScalar.cpp64 llvm::LLVMContext &VMContext; member in class:__anon15207::ScalarExprEmitter
69 VMContext(cgf.getLLVMContext()) {
186 return llvm::ConstantFP::get(VMContext, E->getValue());
580 llvm::Value *Max = llvm::ConstantInt::get(VMContext, LargestInt);
584 llvm::Value *Min = llvm::ConstantInt::get(VMContext, -LargestInt);
634 Builder.CreateFCmpOGT(Src, llvm::ConstantFP::get(VMContext, MinSrc));
636 Builder.CreateFCmpOLT(Src, llvm::ConstantFP::get(VMContext, MaxSrc));
672 Builder.CreateFCmpOGT(AbsSrc, llvm::ConstantFP::get(VMContext, MinBad));
674 Builder.CreateFCmpOLT(AbsSrc, llvm::ConstantFP::get(VMContext, MaxBad));
1609 amt = llvm::ConstantFP::get(VMContext,
[all...]
H A DCGRTTI.cpp27 llvm::LLVMContext &VMContext; member in class:__anon15220::RTTIBuilder
66 VMContext(CGM.getModule().getContext()) { }
124 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext,
H A DCodeGenModule.cpp76 ABI(createCXXABI(*this)), VMContext(M.getContext()), TBAA(0),
119 TBAA = new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(),
1387 llvm::AttributeSet::get(VMContext,
1835 llvm::MDNode *ThisGlobal = llvm::MDNode::get(VMContext, GlobalToAdd);
2278 C = llvm::ConstantDataArray::get(VMContext, Arr);
2280 C = llvm::ConstantDataArray::getString(VMContext, Entry.getKey());
2423 llvm::ConstantDataArray::getString(VMContext, Entry.getKey());
2507 return llvm::ConstantDataArray::getString(VMContext, Str, false);
2523 return llvm::ConstantDataArray::get(VMContext, Elements);
2533 return llvm::ConstantDataArray::get(VMContext, Element
[all...]
H A DCodeGenModule.h240 llvm::LLVMContext &VMContext; member in class:clang::CodeGen::CodeGenModule
513 llvm::LLVMContext &getLLVMContext() { return VMContext; }
H A DCGExpr.cpp1177 llvm::LLVMContext &VMContext = getLLVMContext(); local
1182 llvm::Type::getInt32Ty(VMContext),
1185 llvm::Type::getInt32Ty(VMContext),
1188 llvm::Type::getInt32Ty(VMContext),
1190 Mask.push_back(llvm::UndefValue::get(llvm::Type::getInt32Ty(VMContext)));
H A DTargetInfo.cpp3406 llvm::LLVMContext &VMContext) {
3431 return isIntegerLikeType(CT->getElementType(), Context, VMContext);
3463 if (!isIntegerLikeType(FD->getType(), Context, VMContext))
3473 if (!isIntegerLikeType(FD->getType(), Context, VMContext))
/external/clang/include/clang/CodeGen/
H A DCodeGenAction.h29 llvm::LLVMContext *VMContext; member in class:clang::CodeGenAction
/external/llvm/include/llvm/
H A DDebugInfo.h715 LLVMContext &VMContext);
718 DIVariable cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext);
H A DDIBuilder.h56 LLVMContext & VMContext; member in class:llvm::DIBuilder

Completed in 570 milliseconds