Lines Matching refs:getLLVMContext
84 llvm::Type *Int8 = llvm::IntegerType::getInt8Ty(CGF.CGM.getLLVMContext()); in initializeAlloca()
225 CGF.getLLVMContext(), CGF.getContext().getTypeSize(T)); in MakeBinaryAtomicValue()
278 CGF.getLLVMContext(), CGF.getContext().getTypeSize(T)); in EmitBinaryAtomicPost()
315 CGF.getLLVMContext(), CGF.getContext().getTypeSize(T)); in MakeAtomicCmpXchgValue()
411 llvm::Type *Int128Ty = llvm::IntegerType::get(CGF.getLLVMContext(), 128); in EmitAtomicCmpXchg128ForMSIntrin()
473 llvm::IntegerType::get(CGF.getLLVMContext(), LoadSize.getQuantity() * 8); in EmitISOVolatileLoad()
659 LLVMContext &C = CGF.CGM.getLLVMContext(); in EmitSignBit()
1229 CGF.getLLVMContext(), in EmitX86BitTestIntrinsic()
1377 0, Attribute::get(CGF.getLLVMContext(), Attribute::ElementType, RetType)); in emitPPCLoadReserveIntrinsic()
1418 CGF.getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitMSVCRTSetJmp()
1978 getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitMSVCBuiltinExpr()
2236 llvm::IntegerType *IntTy = llvm::Type::getIntNTy(getLLVMContext(), in emitBuiltinOSLogFormat()
2551 return RValue::get(llvm::ConstantInt::get(getLLVMContext(), in EmitBuiltinExpr()
2554 return RValue::get(llvm::ConstantFP::get(getLLVMContext(), in EmitBuiltinExpr()
3444 Builder.CreateAssumption(ConstantInt::getTrue(getLLVMContext()), {OBD}); in EmitBuiltinExpr()
3450 LLVMContext &Ctx = CGM.getLLVMContext(); in EmitBuiltinExpr()
4726 llvm::Type *ITy = llvm::IntegerType::get(getLLVMContext(), in EmitBuiltinExpr()
5005 Strings.push_back(llvm::MDString::get(getLLVMContext(), StrUtf8)); in EmitBuiltinExpr()
5011 MDTuple *StrTuple = MDTuple::get(getLLVMContext(), Strings); in EmitBuiltinExpr()
5012 Builder.CreateCall(F, MetadataAsValue::get(getLLVMContext(), StrTuple)); in EmitBuiltinExpr()
5129 llvm::IntegerType::get(CGM.getLLVMContext(), EncompassingInfo.Width); in EmitBuiltinExpr()
5301 getLLVMContext(), getContext().getTypeSize(E->getType())); in EmitBuiltinExpr()
5548 llvm::Type *I8PTy = llvm::PointerType::get(getLLVMContext(), GenericAS); in EmitBuiltinExpr()
5657 llvm::FunctionType::get(llvm::Type::getVoidTy(getLLVMContext()), in EmitBuiltinExpr()
5694 getLLVMContext(), in EmitBuiltinExpr()
5697 getLLVMContext(), in EmitBuiltinExpr()
5828 CGM.getLLVMContext(), in EmitBuiltinExpr()
6173 ArgValue, llvm::PointerType::get(getLLVMContext(), in EmitBuiltinExpr()
6202 V, llvm::PointerType::get(getLLVMContext(), in EmitBuiltinExpr()
8028 llvm::IntegerType::get(getLLVMContext(), EltBits / 2); in EmitCommonNeonBuiltinExpr()
8038 llvm::Type *EltTy = llvm::IntegerType::get(getLLVMContext(), EltBits / 2); in EmitCommonNeonBuiltinExpr()
8494 LLVMContext &Context = CGM.getLLVMContext(); in EmitSpecialRegisterBuiltin()
8782 llvm::IntegerType::get(getLLVMContext(), getContext().getTypeSize(Ty)); in EmitARMBuiltinExpr()
8790 0, Attribute::get(getLLVMContext(), Attribute::ElementType, IntTy)); in EmitARMBuiltinExpr()
8796 getLLVMContext(), CGM.getDataLayout().getTypeSizeInBits(RealResTy)); in EmitARMBuiltinExpr()
8831 llvm::IntegerType::get(getLLVMContext(), getContext().getTypeSize(Ty)); in EmitARMBuiltinExpr()
8837 getLLVMContext(), in EmitARMBuiltinExpr()
8850 1, Attribute::get(getLLVMContext(), Attribute::ElementType, StoreTy)); in EmitARMBuiltinExpr()
9807 auto *RTy = llvm::VectorType::get(IntegerType::get(getLLVMContext(), 1), VTy); in EmitSVEPredicateCast()
10140 llvm::Type::getInt1Ty(getLLVMContext()), 1); in EmitSVEMaskedLoad()
10190 llvm::ScalableVectorType::get(IntegerType::get(getLLVMContext(), 1), 1); in EmitSVEMaskedStore()
10442 Ops.push_back(llvm::ConstantInt::get(getLLVMContext(), *Result)); in GetAArch64SVEProcessedOperands()
10571 llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in EmitAArch64SVEBuiltinExpr()
10578 llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in EmitAArch64SVEBuiltinExpr()
10597 llvm::TargetExtType::get(getLLVMContext(), "aarch64.svcount"); in EmitAArch64SVEBuiltinExpr()
10698 EltTy = IntegerType::get(getLLVMContext(), SVEBitsPerBlock / NumOpnds); in EmitAArch64SVEBuiltinExpr()
10958 auto Attrs = AttributeList().addFnAttribute(getLLVMContext(), in EmitAArch64BuiltinExpr()
11132 llvm::Type *Int128Ty = llvm::IntegerType::get(getLLVMContext(), 128); in EmitAArch64BuiltinExpr()
11147 llvm::IntegerType::get(getLLVMContext(), getContext().getTypeSize(Ty)); in EmitAArch64BuiltinExpr()
11156 0, Attribute::get(getLLVMContext(), Attribute::ElementType, IntTy)); in EmitAArch64BuiltinExpr()
11162 getLLVMContext(), CGM.getDataLayout().getTypeSizeInBits(RealResTy)); in EmitAArch64BuiltinExpr()
11195 llvm::IntegerType::get(getLLVMContext(), getContext().getTypeSize(Ty)); in EmitAArch64BuiltinExpr()
11201 getLLVMContext(), in EmitAArch64BuiltinExpr()
11214 1, Attribute::get(getLLVMContext(), Attribute::ElementType, StoreTy)); in EmitAArch64BuiltinExpr()
11224 LLVMContext &Context = CGM.getLLVMContext(); in EmitAArch64BuiltinExpr()
11407 llvm::IntegerType::getInt128Ty(CGM.getLLVMContext()); in EmitAArch64BuiltinExpr()
11422 LLVMContext &Context = CGM.getLLVMContext(); in EmitAArch64BuiltinExpr()
11468 llvm::Type *Int128Ty = llvm::IntegerType::get(getLLVMContext(), 128); in EmitAArch64BuiltinExpr()
11494 LLVMContext &Context = CGM.getLLVMContext(); in EmitAArch64BuiltinExpr()
11518 LLVMContext &Context = CGM.getLLVMContext(); in EmitAArch64BuiltinExpr()
11689 llvm::Type *Int128Ty = llvm::Type::getIntNTy(getLLVMContext(), 128); in EmitAArch64BuiltinExpr()
11693 llvm::Type *Int128Ty = llvm::Type::getIntNTy(getLLVMContext(), 128); in EmitAArch64BuiltinExpr()
12496 llvm::IntegerType::get(getLLVMContext(), BitWidth / 2), 2 * ArgElts); in EmitAArch64BuiltinExpr()
13826 IntegerType::get(CGF.getLLVMContext(), in EmitX86MaskedCompareResult()
14171 llvm::Type::getHalfTy(CGF.getLLVMContext()), NumDstElts); in EmitX86CvtF16ToFloatExpr()
14478 llvm::Type::getX86_MMXTy(getLLVMContext())); in EmitX86BuiltinExpr()
15552 getLLVMContext(), llvm::ConstantAsMetadata::get(Builder.getInt32(1))); in EmitX86BuiltinExpr()
16538 llvm::Type *Int64Ty = llvm::IntegerType::get(getLLVMContext(), 64); in EmitX86BuiltinExpr()
16549 llvm::Type *Int128Ty = llvm::IntegerType::get(getLLVMContext(), 128); in EmitX86BuiltinExpr()
16615 getLLVMContext(), llvm::AttributeList::FunctionIndex, in EmitX86BuiltinExpr()
16627 Ops[0], llvm::PointerType::get(getLLVMContext(), 257)); in EmitX86BuiltinExpr()
16639 Ops[0], llvm::PointerType::get(getLLVMContext(), 256)); in EmitX86BuiltinExpr()
17361 llvm::Type *Int128Ty = llvm::IntegerType::get(getLLVMContext(), 128); in EmitPPCBuiltinExpr()
17375 llvm::IntegerType::get(getLLVMContext(), 128), 1); in EmitPPCBuiltinExpr()
17392 llvm::IntegerType::get(getLLVMContext(), 128), 1); in EmitPPCBuiltinExpr()
18211 llvm::MDBuilder MDHelper(CGF.getLLVMContext()); in EmitAMDGPUWorkGroupSize()
18216 llvm::MDNode::get(CGF.getLLVMContext(), std::nullopt)); in EmitAMDGPUWorkGroupSize()
18218 llvm::MDNode::get(CGF.getLLVMContext(), std::nullopt)); in EmitAMDGPUWorkGroupSize()
18232 llvm::MDNode::get(CGF.getLLVMContext(), std::nullopt)); in EmitAMDGPUGridSize()
18272 SSID = getLLVMContext().getOrInsertSyncScopeID(scp); in ProcessOrderScopeAMDGCN()
18283 SSID = getLLVMContext().getOrInsertSyncScopeID("agent"); in ProcessOrderScopeAMDGCN()
18286 SSID = getLLVMContext().getOrInsertSyncScopeID("workgroup"); in ProcessOrderScopeAMDGCN()
18289 SSID = getLLVMContext().getOrInsertSyncScopeID("wavefront"); in ProcessOrderScopeAMDGCN()
18312 Arg = llvm::ConstantInt::get(getLLVMContext(), *Result); in EmitScalarOrConstFoldImmArg()
18344 /*ReturnType=*/llvm::Type::getInt1Ty(getLLVMContext()), in EmitHLSLBuiltinExpr()
18351 /*ReturnType=*/llvm::Type::getInt1Ty(getLLVMContext()), in EmitHLSLBuiltinExpr()
18428 llvm::Type *retType = llvm::Type::getInt1Ty(this->getLLVMContext()); in EmitHLSLBuiltinExpr()
18752 llvm::Type *ArgTy = llvm::Type::getDoubleTy(getLLVMContext()); in EmitAMDGPUBuiltinExpr()
18755 ArgTy = llvm::Type::getFloatTy(getLLVMContext()); in EmitAMDGPUBuiltinExpr()
18760 llvm::Type::getHalfTy(getLLVMContext()), 2); in EmitAMDGPUBuiltinExpr()
18782 ArgTy = llvm::Type::getFloatTy(getLLVMContext()); in EmitAMDGPUBuiltinExpr()
18787 llvm::Type::getHalfTy(getLLVMContext()), 2); in EmitAMDGPUBuiltinExpr()
18844 {llvm::Type::getInt64Ty(getLLVMContext())}); in EmitAMDGPUBuiltinExpr()
18849 {llvm::Type::getInt64Ty(getLLVMContext())}); in EmitAMDGPUBuiltinExpr()
19563 Value *M4Value = llvm::ConstantInt::get(getLLVMContext(), M4); in EmitSystemZBuiltinExpr()
19564 Value *M5Value = llvm::ConstantInt::get(getLLVMContext(), M5); in EmitSystemZBuiltinExpr()
19598 Value *M4Value = llvm::ConstantInt::get(getLLVMContext(), M4); in EmitSystemZBuiltinExpr()
19632 Value *M4Value = llvm::ConstantInt::get(getLLVMContext(), M4); in EmitSystemZBuiltinExpr()
20878 CGF.getLLVMContext(), in BuiltinAlignArgs()
21371 Ops[OpIdx++] = llvm::ConstantInt::get(getLLVMContext(), *LaneConst); in EmitWebAssemblyBuiltinExpr()
22027 getLLVMContext(), in EmitRISCVBuiltinExpr()
22030 getLLVMContext(), llvm::ConstantAsMetadata::get(Builder.getInt32(1))); in EmitRISCVBuiltinExpr()
22055 getLLVMContext(), in EmitRISCVBuiltinExpr()
22058 getLLVMContext(), llvm::ConstantAsMetadata::get(Builder.getInt32(1))); in EmitRISCVBuiltinExpr()