/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 92 return llvm::IntegerType::get(getLLVMContext(), in ConvertTypeForMem() 326 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() 331 ResultType = llvm::Type::getInt1Ty(getLLVMContext()); in ConvertType() 350 ResultType = llvm::IntegerType::get(getLLVMContext(), in ConvertType() 356 ResultType = getTypeForFormat(getLLVMContext(), in ConvertType() 363 ResultType = getTypeForFormat(getLLVMContext(), in ConvertType() 370 ResultType = llvm::Type::getInt8PtrTy(getLLVMContext()); in ConvertType() 375 ResultType = llvm::IntegerType::get(getLLVMContext(), 128); in ConvertType() 419 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() 443 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() [all …]
|
D | CGBuiltin.cpp | 93 llvm::IntegerType::get(CGF.getLLVMContext(), in EmitBinaryAtomic() 127 llvm::IntegerType::get(CGF.getLLVMContext(), in EmitBinaryAtomicPost() 204 return RValue::get(llvm::ConstantInt::get(getLLVMContext(), in EmitBuiltinExpr() 207 return RValue::get(llvm::ConstantFP::get(getLLVMContext(), in EmitBuiltinExpr() 964 llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 993 llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 1033 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 1345 LLVMContext &C = CGM.getLLVMContext(); in EmitBuiltinExpr() 1525 IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 1637 ArgValue = llvm::ConstantInt::get(getLLVMContext(), Result); in EmitBuiltinExpr() [all …]
|
D | CodeGenPGO.cpp | 66 auto *VoidTy = llvm::Type::getVoidTy(CGM.getLLVMContext()); in getOrInsertRegisterBB() 77 auto *BB = llvm::BasicBlock::Create(CGM.getLLVMContext(), "", RegisterF); in getOrInsertRegisterBB() 84 auto *VoidTy = llvm::Type::getVoidTy(CGM.getLLVMContext()); in getOrInsertRuntimeRegister() 85 auto *VoidPtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext()); in getOrInsertRuntimeRegister() 109 llvm::LLVMContext &Ctx = CGM.getLLVMContext(); in buildDataVar() 169 auto *VoidPtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext()); in emitInstrumentationData() 187 auto *VoidTy = llvm::Type::getVoidTy(CGM.getLLVMContext()); in emitInitialization() 197 CGBuilderTy Builder(llvm::BasicBlock::Create(CGM.getLLVMContext(), "", F)); in emitInitialization() 788 llvm::LLVMContext &Ctx = CGM.getLLVMContext(); in emitRuntimeHook() 801 CGBuilderTy Builder(llvm::BasicBlock::Create(CGM.getLLVMContext(), "", User)); in emitRuntimeHook() [all …]
|
D | CGOpenCLRuntime.cpp | 36 llvm::LLVMContext& Ctx = CGM.getLLVMContext(); in convertOpenCLSpecificType()
|
D | CGExpr.cpp | 46 destType = llvm::Type::getInt8PtrTy(getLLVMContext(), addressSpace); in EmitCastToVoidPtr() 691 NextVal = llvm::ConstantFP::get(getLLVMContext(), FVal); in EmitComplexPrePostIncDec() 1058 llvm::MDBuilder MDHelper(getLLVMContext()); in getRangeForLoadFromType() 1093 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 0), in EmitLoadOfScalar() 1094 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 1), in EmitLoadOfScalar() 1095 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 2) in EmitLoadOfScalar() 1134 Load, llvm::ConstantInt::get(getLLVMContext(), End)); in EmitLoadOfScalar() 1137 Load, llvm::ConstantInt::get(getLLVMContext(), End)); in EmitLoadOfScalar() 1139 Load, llvm::ConstantInt::get(getLLVMContext(), Min)); in EmitLoadOfScalar() 1193 llvm::LLVMContext &VMContext = getLLVMContext(); in EmitStoreOfScalar() [all …]
|
D | CGCall.cpp | 965 resultType = llvm::Type::getVoidTy(getLLVMContext()); in GetFunctionType() 971 resultType = llvm::Type::getVoidTy(getLLVMContext()); in GetFunctionType() 983 resultType = llvm::Type::getVoidTy(getLLVMContext()); in GetFunctionType() 1055 return llvm::StructType::get(getLLVMContext()); in GetFunctionTypeForVTable() 1189 getLLVMContext(), SwapThisWithSRet ? 2 : Index, SRETAttrs)); in ConstructAttributeList() 1208 AttributeSet::get(getLLVMContext(), in ConstructAttributeList() 1224 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index, in ConstructAttributeList() 1252 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index + I, in ConstructAttributeList() 1298 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index, Attrs)); in ConstructAttributeList() 1306 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), Index, Attrs)); in ConstructAttributeList() [all …]
|
D | CodeGenModule.cpp | 657 F->setAttributes(llvm::AttributeSet::get(getLLVMContext(), AttributeList)); in SetLLVMFunctionAttributes() 827 F->setAttributes(llvm::Intrinsic::getAttributes(getLLVMContext(), in SetFunctionAttributes() 916 llvm::Value *MDOpts = llvm::MDString::get(getLLVMContext(), Opts); in AppendLinkerOptions() 917 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts)); in AppendLinkerOptions() 923 llvm::Value *MDOpts = llvm::MDString::get(getLLVMContext(), Opt); in AddDetectMismatch() 924 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts)); in AddDetectMismatch() 930 llvm::Value *MDOpts = llvm::MDString::get(getLLVMContext(), Opt); in AddDependentLib() 931 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts)); in AddDependentLib() 953 llvm::LLVMContext &Context = CGM.getLLVMContext(); in addLinkOptionsPostorder() 1037 llvm::MDNode::get(getLLVMContext(), in EmitModuleLinkOptions() [all …]
|
D | CGRecordLayoutBuilder.cpp | 108 return llvm::Type::getIntNTy(Types.getLLVMContext(), in getIntNType() 114 llvm::Type *Type = llvm::Type::getInt8Ty(Types.getLLVMContext()); in getByteArrayType() 440 llvm::Type::getInt32PtrTy(Types.getLLVMContext()))); in accumulateVPtrs() 656 getLLVMContext(), BaseBuilder.FieldTypes, "", BaseBuilder.Packed); in ComputeRecordLayout()
|
D | CGCUDANV.cpp | 91 CGF.getLLVMContext(), ArgTypes); in EmitDeviceStubBody()
|
D | CodeGenTypes.h | 119 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); } in getLLVMContext() function
|
D | CGExprConstant.cpp | 242 Elements.back() = llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp); in AppendBitField() 262 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp)); in AppendBitField() 283 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(), in AppendBitField() 511 llvm::ConstantStruct::getTypeForElements(CGM.getLLVMContext(), in Finalize() 567 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) { in ConstExprEmitter()
|
D | MicrosoftCXXABI.cpp | 315 llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, TDTypeName); in getTypeDescriptorType() 338 CGM.getLLVMContext(), FieldTypes, "rtti.BaseClassDescriptor"); in getBaseClassDescriptorType() 347 CGM.getLLVMContext(), "rtti.ClassHierarchyDescriptor"); in getClassHierarchyDescriptorType() 363 CGM.getLLVMContext(), "rtti.CompleteObjectLocator"); in getCompleteObjectLocatorType() 1396 llvm::ConstantInt::get(llvm::IntegerType::getInt32Ty(CGF.getLLVMContext()), in EmitVirtualDestructorCall() 1476 llvm::AttributeSet::get(CGF.getLLVMContext(), AttributeList); in EmitVirtualMemPtrThunk() 1839 return llvm::StructType::get(CGM.getLLVMContext(), fields); in ConvertMemberPointerType() 2614 VMContext(CGM.getLLVMContext()), Module(CGM.getModule()), RD(RD), in MSRTTIBuilder() 2864 llvm::ConstantDataArray::getString(CGM.getLLVMContext(), TypeInfoString)}; in getAddrOfRTTIDescriptor()
|
D | CGStmt.cpp | 1693 Ty = llvm::IntegerType::get(getLLVMContext(), Size); in EmitAsmInputLValue() 1751 return llvm::MDNode::get(CGF.getLLVMContext(), Locs); in getAsmSrcLocInfo() 1982 ResultType = llvm::StructType::get(getLLVMContext(), ResultRegTypes); in EmitAsmStmt() 2029 llvm::IntegerType::get(getLLVMContext(), (unsigned)ResSize)); in EmitAsmStmt() 2034 llvm::IntegerType::get(getLLVMContext(), (unsigned)TmpSize)); in EmitAsmStmt()
|
D | CGAtomic.cpp | 747 llvm::IntegerType::get(getLLVMContext(), Size * 8)->getPointerTo(); in EmitAtomicExpr() 866 llvm::IntegerType::get(CGF.getLLVMContext(), AtomicSizeInBits); in emitCastToAtomicIntPointer() 1077 llvm::IntegerType::get(getLLVMContext(), atomics.getValueSizeInBits()); in EmitAtomicStore()
|
D | CGObjCRuntime.cpp | 140 llvm::Type::getIntNPtrTy(CGF.getLLVMContext(), in EmitValueForIvarAtOffset()
|
D | CodeGenModule.h | 578 llvm::MDNode::get(getLLVMContext(), in getNoObjCARCExceptionsMetadata() 591 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext() function
|
D | CodeGenFunction.h | 1004 new llvm::UnreachableInst(getLLVMContext(), UnreachableBlock); in getUnreachableBlock() 1015 llvm::LLVMContext &getLLVMContext() { return CGM.getLLVMContext(); } in getLLVMContext() function 1301 return llvm::BasicBlock::Create(getLLVMContext(), "", parent, before); 1303 return llvm::BasicBlock::Create(getLLVMContext(), name, parent, before);
|
D | CGBlocks.cpp | 341 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true); in computeBlockInfo() 453 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true); in computeBlockInfo() 550 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true); in computeBlockInfo() 2016 llvm::StructType::create(getLLVMContext(), in BuildByRefType()
|
D | CGDebugInfo.cpp | 887 C = llvm::ConstantInt::get(CGM.getLLVMContext(), Value->getInt()); in CreateRecordStaticField() 889 C = llvm::ConstantFP::get(CGM.getLLVMContext(), Value->getFloat()); in CreateRecordStaticField() 1242 llvm::ConstantInt::get(CGM.getLLVMContext(), TA.getAsIntegral())); in CollectTemplateParams() 2566 Builder.getCurrentDebugLocation().getScope(CGM.getLLVMContext()) == in EmitLocation() 3302 E.Decl.replaceAllUsesWith(CGM.getLLVMContext(), in finalize() 3318 Ty.replaceAllUsesWith(CGM.getLLVMContext(), RepTy); in finalize()
|
D | ItaniumCXXABI.cpp | 877 CGF.getLLVMContext(), llvm::AttributeSet::FunctionIndex, FuncAttrs); in getItaniumDynamicCastFn() 1571 llvm::AttributeSet::get(CGM.getLLVMContext(), in getGuardAcquireFn() 1582 llvm::AttributeSet::get(CGM.getLLVMContext(), in getGuardReleaseFn() 1593 llvm::AttributeSet::get(CGM.getLLVMContext(), in getGuardAbortFn()
|
D | CGExprAgg.cpp | 1449 llvm::Type::getInt8PtrTy(getLLVMContext(), DPT->getAddressSpace()); in EmitAggregateCopy() 1454 llvm::Type::getInt8PtrTy(getLLVMContext(), SPT->getAddressSpace()); in EmitAggregateCopy()
|
D | CGObjC.cpp | 853 llvm::Type::getIntNTy(getLLVMContext(), in generateObjCGetterBody() 1129 llvm::Type::getIntNTy(getLLVMContext(), in generateObjCSetterBody() 1987 llvm::Value *string = llvm::MDString::get(getLLVMContext(), assembly); in EmitARCRetainAutoreleasedReturnValue() 1988 metadata->addOperand(llvm::MDNode::get(getLLVMContext(), string)); in EmitARCRetainAutoreleasedReturnValue()
|
D | CGClass.cpp | 860 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), DPT->getAddressSpace()); in emitMemcpyIR() 865 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), SPT->getAddressSpace()); in emitMemcpyIR()
|
D | TargetInfo.cpp | 76 return CGT.getLLVMContext(); in getVMContext() 494 return llvm::Type::getX86_MMXTy(CGF.getLLVMContext()); in X86AdjustInlineAsmType() 1143 llvm::AttributeSet::get(CGM.getLLVMContext(), in SetTargetAttributes() 3792 llvm::Type *BP = llvm::Type::getInt8PtrTy(CGF.getLLVMContext()); in EmitDarwinVAArg() 3966 llvm::AttributeSet::get(CGM.getLLVMContext(), in SetTargetAttributes()
|
D | CGObjCMac.cpp | 69 llvm::AttributeSet::get(CGM.getLLVMContext(), in getMessageSendFn() 595 llvm::AttributeSet::get(CGM.getLLVMContext(), in getSetJmpFn() 1046 CGObjCRuntime(cgm), VMContext(cgm.getLLVMContext()) { } in CGObjCCommonMac() 3606 CGBuilderTy Builder(CGF.getLLVMContext()); in emitHazardsInNewBlocks() 5015 : VMContext(cgm.getLLVMContext()), CGM(cgm), ExternalProtocolPtrTy(nullptr) in ObjCCommonTypesHelper()
|