/external/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), DeclareFn(0), ValueFn(0) {} in DIBuilder() 41 GetTagConstant(VMContext, dwarf::DW_TAG_compile_unit), in createCompileUnit() 42 llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)), in createCompileUnit() 43 ConstantInt::get(Type::getInt32Ty(VMContext), Lang), in createCompileUnit() 44 MDString::get(VMContext, Filename), in createCompileUnit() 45 MDString::get(VMContext, Directory), in createCompileUnit() 46 MDString::get(VMContext, Producer), in createCompileUnit() 48 ConstantInt::get(Type::getInt1Ty(VMContext), true), // isMain in createCompileUnit() [all …]
|
D | DebugInfo.cpp | 770 LLVMContext &VMContext) { in createInlinedVariable() argument 776 return DIVariable(MDNode::get(VMContext, Elts)); in createInlinedVariable() 780 DIVariable llvm::cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext) { in cleanseInlinedVariable() argument 785 Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext))): in cleanseInlinedVariable() 787 return DIVariable(MDNode::get(VMContext, Elts)); in cleanseInlinedVariable()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 28 CodeGenTBAA::CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext& VMContext, in CodeGenTBAA() argument 30 : Context(Ctx), VMContext(VMContext), Features(Features), MContext(MContext), in CodeGenTBAA() 67 Flags = llvm::ConstantInt::get(llvm::Type::getInt64Ty(VMContext), true); in getTBAAInfoForNamedType() 71 llvm::MDString::get(VMContext, NameStr), in getTBAAInfoForNamedType() 78 return llvm::MDNode::get(VMContext, llvm::makeArrayRef(Ops, Len)); in getTBAAInfoForNamedType()
|
D | CodeGenTBAA.h | 40 llvm::LLVMContext& VMContext; variable 63 CodeGenTBAA(ASTContext &Ctx, llvm::LLVMContext &VMContext,
|
D | CodeGenAction.cpp | 232 : Act(_Act), VMContext(_VMContext ? _VMContext : new LLVMContext), in CodeGenAction() 238 delete VMContext; in ~CodeGenAction() 258 return VMContext; in takeLLVMContext() 294 *VMContext); in CreateASTConsumer() 320 TheModule.reset(ParseIR(MainFileCopy, Err, *VMContext)); in ExecuteAction()
|
D | CGExprConstant.cpp | 466 llvm::LLVMContext &VMContext; member in __anonf83533360111::ConstExprEmitter 469 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) { in ConstExprEmitter() 549 llvm::Type *Ty = llvm::Type::getInt8Ty(VMContext); in VisitCastExpr() 811 return llvm::ConstantArray::get(VMContext, in VisitStringLiteral() 826 return llvm::ConstantArray::get(VMContext, Str, false); in VisitObjCEncodeExpr() 956 llvm::ConstantInt::get(llvm::Type::getInt64Ty(VMContext), in EmitConstantExpr() 965 llvm::Type *Type = llvm::Type::getInt8PtrTy(VMContext); in EmitConstantExpr() 993 llvm::Constant *C = llvm::ConstantInt::get(VMContext, in EmitConstantExpr() 1005 Complex[0] = llvm::ConstantInt::get(VMContext, in EmitConstantExpr() 1007 Complex[1] = llvm::ConstantInt::get(VMContext, in EmitConstantExpr() [all …]
|
D | CGObjCGNU.cpp | 185 llvm::Constant *value = llvm::ConstantArray::get(VMContext, Str, true); in ExportUniqueString() 237 llvm::LLVMContext &VMContext; member in __anona4a3aa350111::CGObjCGNU 621 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNUstep() 665 : CGM(cgm), TheModule(CGM.getModule()), VMContext(cgm.getLLVMContext()), in CGObjCGNU() 669 msgSendMDKind = VMContext.getMDKindID("GNUObjCMessageSend"); in CGObjCGNU() 682 Int8Ty = llvm::Type::getInt8Ty(VMContext); in CGObjCGNU() 714 llvm::Type *VoidTy = llvm::Type::getVoidTy(VMContext); in CGObjCGNU() 1059 llvm::MDString::get(VMContext, Sel.getAsString()), in GenerateMessageSendSuper() 1060 llvm::MDString::get(VMContext, Class->getSuperClass()->getNameAsString()), in GenerateMessageSendSuper() 1061 llvm::ConstantInt::get(llvm::Type::getInt1Ty(VMContext), IsClassMessage) in GenerateMessageSendSuper() [all …]
|
D | CodeGenTypes.cpp | 264 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext, in getTypeForFormat() argument 267 return llvm::Type::getFloatTy(VMContext); in getTypeForFormat() 269 return llvm::Type::getDoubleTy(VMContext); in getTypeForFormat() 271 return llvm::Type::getFP128Ty(VMContext); in getTypeForFormat() 273 return llvm::Type::getPPC_FP128Ty(VMContext); in getTypeForFormat() 275 return llvm::Type::getX86_FP80Ty(VMContext); in getTypeForFormat()
|
D | CGRTTI.cpp | 27 llvm::LLVMContext &VMContext; member in __anon3f043c500111::RTTIBuilder 68 VMContext(CGM.getModule().getContext()), in RTTIBuilder() 69 Int8PtrTy(llvm::Type::getInt8PtrTy(VMContext)) { } in RTTIBuilder() 128 llvm::Constant *Init = llvm::ConstantArray::get(VMContext, Name.substr(4)); in GetAddrOfTypeName() 583 llvm::Type *Int8PtrTy = llvm::Type::getInt8PtrTy(VMContext); in BuildTypeInfo() 980 llvm::Type *Int8PtrTy = llvm::Type::getInt8PtrTy(VMContext); in GetAddrOfRTTIDescriptor()
|
D | CGDeclCXX.cpp | 192 = llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), in EmitCXXGlobalVarDeclInitFunc() 229 = llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), in EmitCXXGlobalInitFunc() 263 = llvm::FunctionType::get(llvm::Type::getVoidTy(VMContext), in EmitCXXGlobalDtorFunc()
|
D | CGObjCMac.cpp | 55 llvm::LLVMContext &VMContext; member in __anon9fd071bc0111::ObjCCommonTypesHelper 96 llvm::Type::getDoubleTy(VMContext), in getMessageSendFpretFn() 667 llvm::LLVMContext &VMContext; member in __anon9fd071bc0111::CGObjCCommonMac 843 CGM(cgm), VMContext(cgm.getLLVMContext()) { } in CGObjCCommonMac() 1370 static llvm::Constant *getConstantGEP(llvm::LLVMContext &VMContext, in getConstantGEP() argument 1375 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx0), in getConstantGEP() 1376 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), idx1) in getConstantGEP() 1606 llvm::Constant::getNullValue(llvm::Type::getInt8PtrTy(VMContext)); in BuildGCBlockLayout() 3397 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(VMContext); in EmitImageInfo() 3538 llvm::ConstantArray::get(VMContext, in GetClassName() [all …]
|
D | CodeGenModule.cpp | 69 VMContext(M.getContext()), in CodeGenModule() 80 TBAA = new CodeGenTBAA(Context, VMContext, getLangOptions(), in CodeGenModule() 361 llvm::StructType::get(llvm::Type::getInt32Ty(VMContext), in EmitCtorList() 368 S.push_back(llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), in EmitCtorList() 573 llvm::Type *i8PTy = llvm::Type::getInt8PtrTy(VMContext); in EmitLLVMUsed() 656 llvm::Type *SBP = llvm::Type::getInt8PtrTy(VMContext); in EmitAnnotateAttr() 657 llvm::Constant *anno = llvm::ConstantArray::get(VMContext, in EmitAnnotateAttr() 659 llvm::Constant *unit = llvm::ConstantArray::get(VMContext, in EmitAnnotateAttr() 681 llvm::ConstantInt::get(llvm::Type::getInt32Ty(VMContext), LineNo) in EmitAnnotateAttr() 1707 llvm::Constant::getNullValue(llvm::Type::getInt32Ty(VMContext)); in GetAddrOfConstantCFString() [all …]
|
D | CGExprScalar.cpp | 63 llvm::LLVMContext &VMContext; member in __anon7836a8c20111::ScalarExprEmitter 68 VMContext(cgf.getLLVMContext()) { in ScalarExprEmitter() 176 return llvm::ConstantFP::get(VMContext, E->getValue()); in VisitFloatingLiteral() 221 C = llvm::ConstantFP::get(VMContext, Result.Val.getFloat()); in VisitDeclRefExpr() 1350 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec() 1353 amt = llvm::ConstantFP::get(VMContext, in EmitScalarPrePostIncDec() 1360 amt = llvm::ConstantFP::get(VMContext, F); in EmitScalarPrePostIncDec() 1811 llvm::Type *Int8Ty = llvm::Type::getInt8Ty(VMContext); in EmitOverflowCheckedBinOp() 2327 llvm::PHINode *PN = llvm::PHINode::Create(llvm::Type::getInt1Ty(VMContext), 2, in VisitBinLAnd() 2331 PN->addIncoming(llvm::ConstantInt::getFalse(VMContext), *PI); in VisitBinLAnd() [all …]
|
D | CodeGenModule.h | 300 llvm::LLVMContext &VMContext; variable 375 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext()
|
D | TargetInfo.cpp | 1996 llvm::LLVMContext &VMContext = CGF.getLLVMContext(); in EmitVAArg() local 2106 llvm::Type *DoubleTy = llvm::Type::getDoubleTy(VMContext); in EmitVAArg() 2426 llvm::LLVMContext &VMContext) { in isIntegerLikeType() argument 2451 return isIntegerLikeType(CT->getElementType(), Context, VMContext); in isIntegerLikeType() 2483 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType() 2493 if (!isIntegerLikeType(FD->getType(), Context, VMContext)) in isIntegerLikeType()
|
D | CGExpr.cpp | 1683 llvm::Constant *GenerateConstantVector(llvm::LLVMContext &VMContext, in GenerateConstantVector() argument 1687 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(VMContext); in GenerateConstantVector()
|
/external/clang/include/clang/CodeGen/ |
D | CodeGenAction.h | 28 llvm::LLVMContext *VMContext; variable
|
/external/llvm/include/llvm/Analysis/ |
D | DebugInfo.h | 726 LLVMContext &VMContext); 729 DIVariable cleanseInlinedVariable(MDNode *DV, LLVMContext &VMContext);
|
D | DIBuilder.h | 48 LLVMContext & VMContext; variable
|