Searched refs:getContext (Results 126 - 150 of 708) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DLLVMTargetMachine.cpp208 MCContext &Ctx = MMIWP->getMMI().getContext();
214 MMIWP->getMMI().getContext()))
238 Ctx = &MMIWP->getMMI().getContext();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/Disassembler/
H A DHexagonDisassembler.cpp89 HexagonMCInstrInfo::addConstant(MI, Extended, Disassembler.getContext());
178 MCInst *Inst = new (getContext()) MCInst;
188 HexagonMCChecker Checker(getContext(), *MCII, STI, MI,
189 *getContext().getRegisterInfo(), false);
384 MCInst *MILow = new (getContext()) MCInst;
385 MCInst *MIHigh = new (getContext()) MCInst;
394 adjustDuplex(*MILow, getContext());
399 adjustDuplex(*MIHigh, getContext());
451 MCOperand::createExpr(MCConstantExpr::create(-1, getContext())));
462 getContext()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocSizeofChecker.cpp179 CastedAllocFinder Finder(&BR.getContext());
202 if (typesCompatible(BR.getContext(), PointeeType, SizeofType))
207 if (compatibleWithArrayType(BR.getContext(), PointeeType, SizeofType))
H A DCheckSecuritySyntaxOnly.cpp83 CheckRand(isArc4RandomAvailable(BR.getContext())),
367 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy)
409 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy)
451 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().VoidTy)
493 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
533 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
574 if (PT->getPointeeType().getUnqualifiedType() != BR.getContext().CharTy)
633 if (!suffixEx->EvaluateAsInt(EVResult, BR.getContext()))
689 uint64_t ArraySize = BR.getContext().getTypeSize(Array) / 8;
759 if (!BR.getContext()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGLoopInfo.cpp23 LLVMContext &Ctx = Header->getContext();
37 LLVMContext &Ctx = Header->getContext();
83 LLVMContext &Ctx = Header->getContext();
146 LLVMContext &Ctx = Header->getContext();
215 LLVMContext &Ctx = Header->getContext();
318 LLVMContext &Ctx = Header->getContext();
369 LLVMContext &Ctx = Header->getContext();
422 LLVMContext &Ctx = Header->getContext();
464 LLVMContext &Ctx = Header->getContext();
480 TempLoopID = MDNode::getTemporary(Header->getContext(), Non
[all...]
H A DCGExpr.cpp88 auto DestAddrSpace = getContext().getTargetAddressSpace(LangAS::Default);
135 CharUnits Align = getContext().getTypeAlignInChars(Ty);
142 return CreateMemTemp(Ty, getContext().getTypeAlignInChars(Ty), Name, Alloca);
158 return CreateMemTempWithoutCast(Ty, getContext().getTypeAlignInChars(Ty),
171 QualType BoolTy = getContext().BoolTy;
393 CGF.getContext().getTargetAddressSpace(AS));
394 CharUnits alignment = CGF.getContext().getTypeAlignInChars(Ty);
401 CGF.getContext().getTargetAddressSpace(LangAS::Default)));
714 uint64_t TySize = getContext().getTypeSizeInChars(Ty).getQuantity();
745 AlignVal = getContext()
[all...]
H A DCGOpenMPRuntimeNVPTX.cpp438 CGF.getContext(), EscapedDeclsForParallel, EscapedDeclsForTeams,
1195 CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared));
1290 !supportsLightweightRuntime(CGM.getContext(), D));
1325 CGM.getContext().getTargetAddressSpace(LangAS::cuda_shared));
1403 ASTContext &Ctx = CGM.getContext();
1587 llvm::Type *RetTy = CGM.getTypes().ConvertType(CGM.getContext().BoolTy);
1876 bool Mode = supportsSPMDExecutionMode(CGM.getContext(), D);
2054 getTeamsReductionVars(CGM.getContext(), D, LastPrivatesReductions);
2056 getDistributeLastprivateVars(CGM.getContext(), D, LastPrivatesReductions);
2059 CGM.getContext(), llv
[all...]
H A DMicrosoftCXXABI.cpp96 const ASTContext &Context = getContext();
310 getContext().IntTy);
368 getContext().GetGVALinkageForFunction(cast<FunctionDecl>(GD.getDecl()));
901 const ASTContext &Context = getContext();
934 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr();
968 !getContext().getASTRecordLayout(SrcDecl).hasExtendableVFPtr();
1029 const ASTContext &Context = getContext();
1102 CharUnits Align = CGM.getContext().getTypeAlignInChars(FI.getReturnType());
1174 const ASTRecordLayout &Layout = getContext().getASTRecordLayout(RD);
1231 if (!hasDefaultCXXMethodCC(getContext(),
[all...]
H A DCGBlocks.cpp135 findBlockCapturedManagedEntities(BlockInfo, CGM.getContext().getLangOpts(),
162 CGM.getContext().getObjCEncodingForBlock(BlockInfo.getBlockExpr());
187 ASTContext &C = CGM.getContext();
243 CGM.getContext().getObjCEncodingForBlock(blockInfo.getBlockExpr());
456 CGM.getContext().getTargetAddressSpace(LangAS::opencl_generic);
517 CGF.getContext().getLValueReferenceType(VD->getType()) : VD->getType();
524 ASTContext &C = CGM.getContext();
561 = CGM.getContext().getTypeInfoInChars(thisType);
926 bool IsOpenCL = CGM.getContext().getLangOpts().OpenCL;
932 CGM.getContext()
[all...]
H A DCGStmt.cpp389 PrettyStackTraceLoc CrashInfo(getContext().getSourceManager(),S.getLBracLoc(),
724 LoopStack.push(LoopHeader.getBlock(), CGM.getContext(), WhileAttrs,
826 LoopStack.push(LoopBody, CGM.getContext(), DoAttrs,
884 LoopStack.push(CondBlock, CGM.getContext(), ForAttrs,
985 LoopStack.push(CondBlock, CGM.getContext(), ForAttrs,
1137 if (!RV || RV->isEvaluatable(getContext()))
1184 llvm::APSInt LHS = S.getLHS()->EvaluateKnownConstInt(getContext());
1185 llvm::APSInt RHS = S.getRHS()->EvaluateKnownConstInt(getContext());
1277 Builder.getInt(S.getLHS()->EvaluateKnownConstInt(getContext()));
1325 Builder.getInt(CurCase->getLHS()->EvaluateKnownConstInt(getContext()));
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeTypes.cpp688 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
702 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
713 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
746 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
783 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
826 TLI.getTypeToTransformTo(*DAG.getContext(), Op.getValueType()) &&
844 EVT::getIntegerVT(*DAG.getContext(), BitWidth), Op);
851 EVT EltNVT = EVT::getIntegerVT(*DAG.getContext(), EltWidth);
854 EVT::getVectorVT(*DAG.getContext(), EltNVT, EltCnt), Op);
953 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), Pai
[all...]
H A DLegalizeVectorTypes.cpp1061 EVT LoIntVT = EVT::getIntegerVT(*DAG.getContext(), LoVT.getSizeInBits());
1062 EVT HiIntVT = EVT::getIntegerVT(*DAG.getContext(), HiVT.getSizeInBits());
1159 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext());
1360 EVT VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT, ResNE);
1436 VecVT = EVT::getVectorVT(*DAG.getContext(), EltVT,
1454 Type *VecType = VecVT.getTypeForEVT(*DAG.getContext());
1743 LLVMContext &Ctx = *DAG.getContext();
1879 EVT NVT = OVT.getHalfNumVectorElementsVT(*DAG.getContext());
1886 NVT.getTypeForEVT(*DAG.getContext()));
2105 EVT OutVT = EVT::getVectorVT(*DAG.getContext(), ResV
[all...]
H A DLegalizeFloatTypes.cpp145 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
164 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
196 TLI.getTypeToTransformTo(*DAG.getContext(),
217 TLI.getTypeToTransformTo(*DAG.getContext(),
221 TLI.getTypeToTransformTo(*DAG.getContext(),
234 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
412 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
455 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
466 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0));
508 EVT MidVT = TLI.getTypeToTransformTo(*DAG.getContext(), MV
[all...]
H A DFunctionLoweringInfo.cpp98 TLI->CanLowerReturn(CC, *MF, Fn->isVarArg(), Outs, Fn->getContext());
291 unsigned NumRegisters = TLI->getNumRegisters(Fn->getContext(), VT);
378 MVT RegisterVT = TLI->getRegisterType(Ty->getContext(), ValueVT);
380 unsigned NumRegs = TLI->getNumRegisters(Ty->getContext(), ValueVT);
429 if (TLI->getNumRegisters(PN->getContext(), IntVT) != 1)
431 IntVT = TLI->getTypeToTransformTo(PN->getContext(), IntVT);
546 unsigned NumRegisters = TLI->getNumRegisters(Fn->getContext(), VT);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DParser.cpp35 M ? M->getContext() : Context, Slots, UpgradeDebugInfo,
153 if (LLParser(Asm, SM, Err, const_cast<Module *>(&M), nullptr, M.getContext())
182 if (LLParser(Asm, SM, Err, const_cast<Module *>(&M), nullptr, M.getContext())
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMCTargetDesc.cpp110 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo();
129 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo();
249 const MCAsmInfo *MAI = Streamer.getContext().getAsmInfo();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp210 MCContext &getContext() override { return Ctx; }
863 if (!getContext().getGenDwarfForAssembly())
868 if (getContext().getGenDwarfFileNumber() == 0) {
872 getContext().setMCLineTableRootFile(/*CUID=*/0,
873 getContext().getCompilationDir(),
877 getContext().getMCDwarfLineTable(/*CUID=*/0).getRootFile();
878 getContext().setGenDwarfFileNumber(getStreamer().EmitDwarfFileDirective(
879 /*CUID=*/0, getContext().getCompilationDir(), RootFile.Name,
901 if (getContext().getGenDwarfForAssembly()) {
904 MCSymbol *SectionStartSym = getContext()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h43 ASTContext &Ctx = getBasicVals().getContext();
65 ASTContext &Ctx = getBasicVals().getContext();
81 ASTContext &Ctx = getBasicVals().getContext();
111 ASTContext &Ctx = BVF.getContext();
246 const TargetInfo &TI = getBasicVals().getContext().getTargetInfo();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/
H A DMCMachOStreamer.cpp164 MCSymbol *Label = getContext().createLinkerPrivateTempSymbol();
214 MCSymbol *Start = getContext().createTempSymbol();
228 Data.End = getContext().createTempSymbol();
418 return EmitZerofill(getContext().getObjectFileInfo()->getDataBSSSection(),
429 getContext().reportError(
H A DMCELFStreamer.cpp91 MCContext &Ctx = getContext();
167 Symbol, MCSymbolRefExpr::VK_WEAKREF, getContext());
302 MCSection &Section = *getAssembler().getContext().getELFSection(
319 ->setSize(MCConstantExpr::create(Size, getContext()));
366 MCSection *Comment = getAssembler().getContext().getELFSection(
467 getContext().reportError(
475 MCSymbolRefExpr::create(S, SRE->getKind(), getContext(), SRE->getLoc());
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp116 Constant *V = ConstantFP::get(BBBuilder.getContext(), APFloat(Val));
441 Constant *V = ConstantFP::get(CI->getContext(), APFloat(127.0f));
469 Constant *V = ConstantFP::get(CI->getContext(), APFloat(UpperV));
470 Constant *V0 = ConstantFP::get(CI->getContext(), APFloat(0.0f));
488 MDBuilder(CI->getContext()).createBranchWeights(1, 2000);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp192 PAL = AttributeList::get(Fn.getContext(), PAL.getFnAttributes(),
818 NRetTy = StructType::get(STy->getContext(), RetTypes, STy->isPacked());
829 NRetTy = Type::getVoidTy(F->getContext());
847 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs);
851 F->getContext(), Attribute::AllocSize);
856 AttributeList::get(F->getContext(), FnAttrs, RetAttrs, ArgAttrVec);
889 AttributeSet RetAttrs = AttributeSet::get(F->getContext(), RAttrs);
909 F->getContext(),
929 F->getContext(), Attribute::AllocSize);
932 F->getContext(), FnAttr
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp61 MF.getContext()));
638 MCSection *Nt = MMI->getContext().getELFSection(
667 MCSymbol *S = MMI->getContext().getOrCreateSymbol(StringRef("@feat.00"));
688 S, MCConstantExpr::create(Feat00Flags, MMI->getContext()));
718 MCSymbolRefExpr::create(MCSym.getPointer(), OutStreamer.getContext()),
733 OutStreamer.SwitchSection(MMI->getContext().getMachOSection(
780 MCSymbol *S = MMI->getContext().getOrCreateSymbol(SymbolName);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DMetadata.h297 LLVMContext &getContext() const { return Context; } function in class:llvm::ReplaceableMetadataImpl
352 : Metadata(ID, Uniqued), ReplaceableMetadataImpl(V->getContext()), V(V) {
381 LLVMContext &getContext() const { return V->getContext(); } function in class:llvm::ValueAsMetadata
796 operator LLVMContext &() { return getContext(); }
803 LLVMContext &getContext() const { function in class:llvm::ContextAndReplaceableUses
805 return getReplaceableUses()->getContext();
818 makeReplaceable(std::make_unique<ReplaceableMetadataImpl>(getContext()));
829 assert(&ReplaceableUses->getContext() == &getContext()
932 LLVMContext &getContext() const { return Context.getContext(); } function in class:llvm::MDNode
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineC.cpp146 CTy = getContext().getCanonicalType(CTy);
150 CLHSTy = getContext().getCanonicalType(CLHSTy);
152 QualType LTy = getContext().getCanonicalType(LHS->getType());
199 CanQualType T = getContext().getCanonicalType(BE->getType());
265 ExTy = getContext().getLValueReferenceType(ExTy);
268 ExTy = getContext().getRValueReferenceType(ExTy);
291 resultType = getContext().getPointerType(resultType);
453 resultType = getContext().getPointerType(resultType);
492 resultType = getContext().getPointerType(resultType);
616 Ty = getContext()
[all...]

Completed in 448 milliseconds

1234567891011>>