Home
last modified time | relevance | path

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

/trueos/contrib/llvm/lib/IR/
HDDIBuilder.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()), TempEnumTypes(0), TempRetainTypes(0), in DIBuilder()
84 static MDNode *createFilePathPair(LLVMContext &VMContext, StringRef Filename, in createFilePathPair() argument
88 MDString::get(VMContext, Filename), in createFilePathPair()
89 MDString::get(VMContext, Directory) in createFilePathPair()
91 return MDNode::get(VMContext, Pair); in createFilePathPair()
106 Value *TElts[] = { GetTagConstant(VMContext, DW_TAG_base_type) }; in createCompileUnit()
107 TempEnumTypes = MDNode::getTemporary(VMContext, TElts); in createCompileUnit()
109 TempRetainTypes = MDNode::getTemporary(VMContext, TElts); in createCompileUnit()
[all …]
HDDebugInfo.cpp866 LLVMContext &VMContext) { in createInlinedVariable() argument
871 return DIVariable(MDNode::get(VMContext, Elts)); in createInlinedVariable()
875 DIVariable llvm::cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext) { in cleanseInlinedVariable() argument
879 i == 7 ? Elts.push_back(Constant::getNullValue(Type::getInt32Ty(VMContext))) in cleanseInlinedVariable()
881 return DIVariable(MDNode::get(VMContext, Elts)); in cleanseInlinedVariable()
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenAction.cpp289 VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction()
295 delete VMContext; in ~CodeGenAction()
319 return VMContext; in takeLLVMContext()
365 LinkModuleToUse = getLazyBitcodeModule(BCBuf, *VMContext, &ErrorStr); in CreateASTConsumer()
378 LinkModuleToUse, OS.take(), *VMContext); in CreateASTConsumer()
404 TheModule.reset(ParseIR(MainFileCopy, Err, *VMContext)); in ExecuteAction()
HDCodeGenTypes.cpp270 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() argument
275 return llvm::Type::getHalfTy(VMContext); in getTypeForFormat()
277 return llvm::Type::getInt16Ty(VMContext); in getTypeForFormat()
280 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat()
282 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat()
284 return llvm::Type::getFP128Ty(VMContext); in getTypeForFormat()
286 return llvm::Type::getPPC_FP128Ty(VMContext); in getTypeForFormat()
288 return llvm::Type::getX86_FP80Ty(VMContext); in getTypeForFormat()
HDCGObjCGNU.cpp185 llvm::Constant *value = llvm::ConstantDataArray::getString(VMContext,Str); in ExportUniqueString()
285 llvm::LLVMContext &VMContext; member in __anon450581130111::CGObjCGNU
727 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
736 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
745 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep()
913 VMContext(cgm.getLLVMContext()), ClassPtrAlias(0), MetaClassPtrAlias(0), in CGObjCGNU()
916 msgSendMDKind = VMContext.getMDKindID("GNUObjCMessageSend"); in CGObjCGNU()
929 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU()
947 Int32Ty = llvm::Type::getInt32Ty(VMContext); in CGObjCGNU()
948 Int64Ty = llvm::Type::getInt64Ty(VMContext); in CGObjCGNU()
[all …]
HDCGExprConstant.cpp564 llvm::LLVMContext &VMContext; member in __anon330604d40111::ConstExprEmitter
567 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) { in ConstExprEmitter()
841 return llvm::ConstantDataArray::getString(VMContext, Str, false); in VisitObjCEncodeExpr()
1090 return llvm::ConstantInt::get(VMContext, Value.getInt()); in EmitConstantValue()
1094 Complex[0] = llvm::ConstantInt::get(VMContext, in EmitConstantValue()
1096 Complex[1] = llvm::ConstantInt::get(VMContext, in EmitConstantValue()
1109 return llvm::ConstantInt::get(VMContext, Init.bitcastToAPInt()); in EmitConstantValue()
1111 return llvm::ConstantFP::get(VMContext, Init); in EmitConstantValue()
1116 Complex[0] = llvm::ConstantFP::get(VMContext, in EmitConstantValue()
1118 Complex[1] = llvm::ConstantFP::get(VMContext, in EmitConstantValue()
[all …]
HDCGObjCMac.cpp51 llvm::LLVMContext &VMContext; member in __anon4032489a0111::ObjCCommonTypesHelper
107 llvm::Type *longDoubleType = llvm::Type::getX86_FP80Ty(VMContext); in getMessageSendFp2retFn()
830 llvm::LLVMContext &VMContext; member in __anon4032489a0111::CGObjCCommonMac
1039 CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) { } in CGObjCCommonMac()
1687 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext, in getConstantGEP() argument
1692 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0), in getConstantGEP()
1693 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1) in getConstantGEP()
2460 llvm::ConstantDataArray::getString(VMContext, BitMap,false), in getBitmapBlockLayout()
2462 return getConstantGEP(VMContext, Entry, 0, 0); in getBitmapBlockLayout()
4322 llvm::MDString::get(VMContext,Section)); in EmitImageInfo()
[all …]
HDCodeGenTBAA.cpp32 CodeGenTBAA::CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext& VMContext, in CodeGenTBAA() argument
36 MDHelper(VMContext), Root(0), Char(0) { in CodeGenTBAA()
HDCGExprScalar.cpp64 llvm::LLVMContext &VMContext; member in __anonbeca7ae00111::ScalarExprEmitter
69 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter()
187 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral()
583 llvm::Value *Max = llvm::ConstantInt::get(VMContext, LargestInt); in EmitFloatConversionCheck()
587 llvm::Value *Min = llvm::ConstantInt::get(VMContext, -LargestInt); in EmitFloatConversionCheck()
637 Builder.CreateFCmpOGT(Src, llvm::ConstantFP::get(VMContext, MinSrc)); in EmitFloatConversionCheck()
639 Builder.CreateFCmpOLT(Src, llvm::ConstantFP::get(VMContext, MaxSrc)); in EmitFloatConversionCheck()
675 Builder.CreateFCmpOGT(AbsSrc, llvm::ConstantFP::get(VMContext, MinBad)); in EmitFloatConversionCheck()
677 Builder.CreateFCmpOLT(AbsSrc, llvm::ConstantFP::get(VMContext, MaxBad)); in EmitFloatConversionCheck()
1691 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec()
[all …]
HDCodeGenTBAA.h95 CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext &VMContext,
HDCGRTTI.cpp27 llvm::LLVMContext &VMContext; member in __anonb8a44fee0111::RTTIBuilder
66 VMContext(CGM.getModule().getContext()) { } in RTTIBuilder()
124 llvm::Constant *Init = llvm::ConstantDataArray::getString(VMContext, in GetAddrOfTypeName()
HDCodeGenModule.cpp77 ABI(createCXXABI(*this)), VMContext(M.getContext()), TBAA(0), in CodeGenModule()
119 TBAA = new CodeGenTBAA(Context, VMContext, CodeGenOpts, getLangOpts(), in CodeGenModule()
1431 llvm::AttributeSet::get(VMContext, in GetOrCreateLLVMFunction()
1904 llvm::MDNode *ThisGlobal = llvm::MDNode::get(VMContext, GlobalToAdd); in EmitGlobalVarDefinition()
2353 C = llvm::ConstantDataArray::get(VMContext, Arr); in GetAddrOfConstantCFString()
2355 C = llvm::ConstantDataArray::getString(VMContext, Entry.getKey()); in GetAddrOfConstantCFString()
2498 llvm::ConstantDataArray::getString(VMContext, Entry.getKey()); in GetAddrOfConstantString()
2582 return llvm::ConstantDataArray::getString(VMContext, Str, false); in GetConstantArrayFromStringLiteral()
2598 return llvm::ConstantDataArray::get(VMContext, Elements); in GetConstantArrayFromStringLiteral()
2608 return llvm::ConstantDataArray::get(VMContext, Elements); in GetConstantArrayFromStringLiteral()
HDCodeGenModule.h240 llvm::LLVMContext &VMContext; variable
529 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext()
HDCGExpr.cpp1186 llvm::LLVMContext &VMContext = getLLVMContext(); in EmitStoreOfScalar() local
1190 Mask.push_back(llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), in EmitStoreOfScalar()
1192 Mask.push_back(llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), in EmitStoreOfScalar()
1194 Mask.push_back(llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), in EmitStoreOfScalar()
1196 Mask.push_back(llvm::UndefValue::get(llvm::Type::getInt32Ty(VMContext))); in EmitStoreOfScalar()
HDTargetInfo.cpp3563 llvm::LLVMContext &VMContext) { in isIntegerLikeType() argument
3588 return isIntegerLikeType(CT->getElementType(), Context, VMContext); in isIntegerLikeType()
3620 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
3630 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
/trueos/contrib/llvm/tools/clang/include/clang/CodeGen/
HDCodeGenAction.h29 llvm::LLVMContext *VMContext; variable
/trueos/contrib/llvm/include/llvm/
HDDebugInfo.h748 LLVMContext &VMContext);
751 DIVariable cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext);
HDDIBuilder.h58 LLVMContext & VMContext; variable