| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CodeGenTypes.cpp | 92 return llvm::IntegerType::get(getLLVMContext(), in ConvertTypeForMem() 334 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() 339 ResultType = llvm::Type::getInt1Ty(getLLVMContext()); in ConvertType() 358 ResultType = llvm::IntegerType::get(getLLVMContext(), in ConvertType() 365 getTypeForFormat(getLLVMContext(), Context.getFloatTypeSemantics(T), in ConvertType() 372 ResultType = getTypeForFormat(getLLVMContext(), in ConvertType() 379 ResultType = llvm::Type::getInt8PtrTy(getLLVMContext()); in ConvertType() 384 ResultType = llvm::IntegerType::get(getLLVMContext(), 128); in ConvertType() 428 PointeeType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() 452 ResultType = llvm::Type::getInt8Ty(getLLVMContext()); in ConvertType() [all …]
|
| HD | CGBuiltin.cpp | 98 llvm::IntegerType::get(CGF.getLLVMContext(), in MakeBinaryAtomicValue() 138 llvm::IntegerType::get(CGF.getLLVMContext(), in EmitBinaryAtomicPost() 177 CGF.getLLVMContext(), CGF.getContext().getTypeSize(T)); in MakeAtomicCmpXchgValue() 211 LLVMContext &C = CGF.CGM.getLLVMContext(); in EmitSignBit() 267 return RValue::get(llvm::ConstantInt::get(getLLVMContext(), in EmitBuiltinExpr() 270 return RValue::get(llvm::ConstantFP::get(getLLVMContext(), in EmitBuiltinExpr() 1134 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 1628 IntegerType::get(getLLVMContext(), in EmitBuiltinExpr() 1710 AttributeSet::get(getLLVMContext(), llvm::AttributeSet::FunctionIndex, in EmitBuiltinExpr() 1730 AttributeSet::get(getLLVMContext(), llvm::AttributeSet::FunctionIndex, in EmitBuiltinExpr() [all …]
|
| HD | SanitizerMetadata.cpp | 36 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in reportGlobalToASan() 79 llvm::MDNode::get(CGM.getLLVMContext(), None)); in disableSanitizerForInstruction() 86 llvm::LLVMContext &VMContext = CGM.getLLVMContext(); in getLocationMetadata()
|
| HD | CGOpenCLRuntime.cpp | 36 llvm::LLVMContext& Ctx = CGM.getLLVMContext(); in convertOpenCLSpecificType()
|
| HD | CGCall.cpp | 1278 resultType = llvm::Type::getVoidTy(getLLVMContext()); in GetFunctionType() 1284 resultType = llvm::Type::getVoidTy(getLLVMContext()); in GetFunctionType() 1372 return llvm::StructType::get(getLLVMContext()); in GetFunctionTypeForVTable() 1600 getLLVMContext(), llvm::AttributeSet::ReturnIndex, RetAttrs)); in ConstructAttributeList() 1610 getLLVMContext(), IRFunctionArgs.getSRetArgNo() + 1, SRETAttrs)); in ConstructAttributeList() 1618 getLLVMContext(), IRFunctionArgs.getInallocaArgNo() + 1, Attrs)); in ConstructAttributeList() 1633 getLLVMContext(), IRFunctionArgs.getPaddingArgNo(ArgNo) + 1, in ConstructAttributeList() 1696 PAL.push_back(llvm::AttributeSet::get(getLLVMContext(), in ConstructAttributeList() 1704 AttributeSet::get(getLLVMContext(), in ConstructAttributeList() 1801 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), AI->getArgNo() + 1, in EmitFunctionProlog() [all …]
|
| HD | CGExpr.cpp | 49 destType = llvm::Type::getInt8PtrTy(getLLVMContext(), addressSpace); in EmitCastToVoidPtr() 745 NextVal = llvm::ConstantFP::get(getLLVMContext(), FVal); in EmitComplexPrePostIncDec() 1116 llvm::MDBuilder MDHelper(getLLVMContext()); in getRangeForLoadFromType() 1151 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 0), in EmitLoadOfScalar() 1152 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 1), in EmitLoadOfScalar() 1153 llvm::ConstantInt::get(llvm::Type::getInt32Ty(getLLVMContext()), 2) in EmitLoadOfScalar() 1196 Load, llvm::ConstantInt::get(getLLVMContext(), End)); in EmitLoadOfScalar() 1199 Load, llvm::ConstantInt::get(getLLVMContext(), End)); in EmitLoadOfScalar() 1201 Load, llvm::ConstantInt::get(getLLVMContext(), Min)); in EmitLoadOfScalar() 1256 llvm::LLVMContext &VMContext = getLLVMContext(); in EmitStoreOfScalar() [all …]
|
| HD | CodeGenModule.cpp | 706 F->setAttributes(llvm::AttributeSet::get(getLLVMContext(), AttributeList)); in SetLLVMFunctionAttributes() 881 F->setAttributes(llvm::Intrinsic::getAttributes(getLLVMContext(), IID)); in SetFunctionAttributes() 962 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opts); in AppendLinkerOptions() 963 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts)); in AppendLinkerOptions() 969 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opt); in AddDetectMismatch() 970 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts)); in AddDetectMismatch() 976 auto *MDOpts = llvm::MDString::get(getLLVMContext(), Opt); in AddDependentLib() 977 LinkerOptionsMetadata.push_back(llvm::MDNode::get(getLLVMContext(), MDOpts)); in AddDependentLib() 998 llvm::LLVMContext &Context = CGM.getLLVMContext(); in addLinkOptionsPostorder() 1075 llvm::MDNode::get(getLLVMContext(), in EmitModuleLinkOptions() [all …]
|
| HD | CGRecordLayoutBuilder.cpp | 123 return llvm::Type::getIntNTy(Types.getLLVMContext(), in getIntNType() 129 llvm::Type *Type = llvm::Type::getInt8Ty(Types.getLLVMContext()); in getByteArrayType() 470 llvm::Type::getInt32PtrTy(Types.getLLVMContext()))); in accumulateVPtrs() 699 getLLVMContext(), BaseBuilder.FieldTypes, "", BaseBuilder.Packed); in ComputeRecordLayout()
|
| HD | CodeGenPGO.cpp | 73 llvm::ConstantDataArray::getString(CGM.getLLVMContext(), FuncName, false); in createFuncNameVar() 786 auto *I8PtrTy = llvm::Type::getInt8PtrTy(CGM.getLLVMContext()); in emitCounterIncrement() 844 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createProfileWeights() 868 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createProfileWeights()
|
| HD | MicrosoftCXXABI.cpp | 391 llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, TDTypeName); in getTypeDescriptorType() 414 CGM.getLLVMContext(), FieldTypes, "rtti.BaseClassDescriptor"); in getBaseClassDescriptorType() 423 CGM.getLLVMContext(), "rtti.ClassHierarchyDescriptor"); in getClassHierarchyDescriptorType() 439 CGM.getLLVMContext(), "rtti.CompleteObjectLocator"); in getCompleteObjectLocatorType() 638 CGM.getLLVMContext(), FieldTypes, "eh.CatchHandlerType"); in getCatchHandlerTypeType() 656 CGM.getLLVMContext(), FieldTypes, "eh.CatchableType"); in getCatchableTypeType() 675 llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, CTATypeName); in getCatchableTypeArrayType() 688 ThrowInfoType = llvm::StructType::create(CGM.getLLVMContext(), FieldTypes, in getThrowInfoType() 1788 llvm::IntegerType::getInt32Ty(CGF.getLLVMContext()), in EmitVirtualDestructorCall() 2199 llvm::FunctionType::get(llvm::Type::getVoidTy(CGM.getLLVMContext()), in getInitThreadHeaderFn() [all …]
|
| HD | CGStmt.cpp | 1740 Ty = llvm::IntegerType::get(getLLVMContext(), Size); in EmitAsmInputLValue() 1767 return llvm::ConstantInt::get(getLLVMContext(), Result); in EmitAsmInput() 1808 return llvm::MDNode::get(CGF.getLLVMContext(), Locs); in getAsmSrcLocInfo() 2065 ResultType = llvm::StructType::get(getLLVMContext(), ResultRegTypes); in EmitAsmStmt() 2099 llvm::MDNode::get(getLLVMContext(), in EmitAsmStmt() 2132 llvm::IntegerType::get(getLLVMContext(), (unsigned)ResSize)); in EmitAsmStmt() 2137 llvm::IntegerType::get(getLLVMContext(), (unsigned)TmpSize)); in EmitAsmStmt()
|
| HD | CGExprConstant.cpp | 258 Elements.back() = llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp); in AppendBitField() 278 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(), Tmp)); in AppendBitField() 299 Elements.push_back(llvm::ConstantInt::get(CGM.getLLVMContext(), in AppendBitField() 539 llvm::ConstantStruct::getTypeForElements(CGM.getLLVMContext(), in Finalize() 606 : CGM(cgm), CGF(cgf), VMContext(cgm.getLLVMContext()) { in ConstExprEmitter()
|
| HD | CodeGenTypes.h | 176 llvm::LLVMContext &getLLVMContext() { return TheModule.getContext(); } in getLLVMContext() function
|
| HD | CGBlocks.cpp | 85 CGM.getLLVMContext(), C.getTargetAddressSpace(LangAS::opencl_constant)); in buildBlockDescriptor() 347 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true); in computeBlockInfo() 459 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true); in computeBlockInfo() 566 llvm::StructType::get(CGM.getLLVMContext(), elementTypes, true); in computeBlockInfo() 2046 llvm::StructType::create(getLLVMContext(), in BuildByRefType()
|
| HD | CGCUDANV.cpp | 80 : CGCUDARuntime(CGM), Context(CGM.getLLVMContext()), in CGNVCUDARuntime()
|
| HD | CGObjCRuntime.cpp | 140 llvm::Type::getIntNPtrTy(CGF.getLLVMContext(), in EmitValueForIvarAtOffset()
|
| HD | CodeGenModule.h | 604 NoObjCARCExceptionsMetadata = llvm::MDNode::get(getLLVMContext(), None); in getNoObjCARCExceptionsMetadata() 624 llvm::LLVMContext &getLLVMContext() { return VMContext; } in getLLVMContext() function
|
| HD | CodeGenFunction.h | 1102 new llvm::UnreachableInst(getLLVMContext(), UnreachableBlock); in getUnreachableBlock() 1118 llvm::LLVMContext &getLLVMContext() { return CGM.getLLVMContext(); } in getLLVMContext() function 1436 return llvm::BasicBlock::Create(getLLVMContext(), "", parent, before); 1438 return llvm::BasicBlock::Create(getLLVMContext(), name, parent, before);
|
| HD | CGAtomic.cpp | 659 llvm::Type *IPtrTy = llvm::IntegerType::get(CGF.getLLVMContext(), in AddDirectArgument() 1024 llvm::IntegerType::get(getLLVMContext(), Size * 8); in EmitAtomicExpr() 1145 llvm::IntegerType::get(CGF.getLLVMContext(), AtomicSizeInBits); in emitCastToAtomicIntPointer() 1393 CGF.getLLVMContext(), in convertRValueToInt()
|
| HD | CGClass.cpp | 963 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), DPT->getAddressSpace()); in emitMemcpyIR() 968 llvm::Type::getInt8PtrTy(CGF.getLLVMContext(), SPT->getAddressSpace()); in emitMemcpyIR() 2242 getLLVMContext(), llvm::MDString::get(getLLVMContext(), Out.str())); in EmitVTablePtrCheck()
|
| HD | CoverageMappingGen.cpp | 927 llvm::LLVMContext &Ctx = CGM.getLLVMContext(); in addFunctionMappingRecord() 971 llvm::LLVMContext &Ctx = CGM.getLLVMContext(); in emit()
|
| HD | ItaniumCXXABI.cpp | 998 CGF.getLLVMContext(), llvm::AttributeSet::FunctionIndex, FuncAttrs); in getItaniumDynamicCastFn() 1710 llvm::AttributeSet::get(CGM.getLLVMContext(), in getGuardAcquireFn() 1721 llvm::AttributeSet::get(CGM.getLLVMContext(), in getGuardReleaseFn() 1732 llvm::AttributeSet::get(CGM.getLLVMContext(), in getGuardAbortFn() 3621 llvm::BasicBlock::Create(CGM.getLLVMContext(), "", fn); in getClangCallTerminateFn()
|
| HD | CGExprAgg.cpp | 1514 llvm::Type::getInt8PtrTy(getLLVMContext(), DPT->getAddressSpace()); in EmitAggregateCopy() 1519 llvm::Type::getInt8PtrTy(getLLVMContext(), SPT->getAddressSpace()); in EmitAggregateCopy()
|
| HD | CGObjC.cpp | 871 llvm::Type::getIntNTy(getLLVMContext(), in generateObjCGetterBody() 1147 llvm::Type::getIntNTy(getLLVMContext(), in generateObjCSetterBody() 2005 getLLVMContext(), llvm::MDString::get(getLLVMContext(), assembly))); in EmitARCRetainAutoreleasedReturnValue()
|
| HD | CGVTables.cpp | 367 llvm::AttributeSet::get(getLLVMContext(), AttributeList); in EmitMustTailThunk()
|