Home
last modified time | relevance | path

Searched refs:isConstant (Results 1 – 25 of 152) sorted by relevance

1234567

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLattice.cpp26 if (isConstant() && Other.isConstant()) in getCompare()
32 if ((isNotConstant() && Other.isConstant() && in getCompare()
34 (isConstant() && Other.isNotConstant() && in getCompare()
H A DValueLatticeUtils.cpp28 if (GV->isConstant() || !GV->hasLocalLinkage() || in canTrackGlobalVariableInterprocedurally()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DValueLattice.h240 bool isConstant() const { return Tag == constant; } in isConstant() function
256 assert(isConstant() && "Cannot get the constant of a non-constant!"); in getConstant()
276 if (isConstant() && isa<ConstantInt>(getConstant())) { in asConstantInteger()
305 if (isConstant()) {
398 if (RHS.isConstant())
412 if (isConstant()) {
413 if (RHS.isConstant() && getConstant() == RHS.getConstant())
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DPseudoSourceValue.h77 virtual bool isConstant(const MachineFrameInfo *) const;
101 bool isConstant(const MachineFrameInfo *MFI) const override;
117 bool isConstant(const MachineFrameInfo *) const override;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DPseudoSourceValue.cpp40 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue
58 bool FixedStackPseudoSourceValue::isConstant( in isConstant() function in FixedStackPseudoSourceValue
84 bool CallEntryPseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in CallEntryPseudoSourceValue
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalVariable.h58 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage,
64 GlobalVariable(Module &M, Type *Ty, bool isConstant, LinkageTypes Linkage,
158 bool isConstant() const { return isConstantGlobal; } in isConstant() function
H A DMDBuilder.h182 bool isConstant = false);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DRelLookupTableConverter.cpp32 !GV.isConstant() || in shouldConvertToRelLookupTable()
81 if (!GlovalVarOp || !GlovalVarOp->isConstant()) in shouldConvertToRelLookupTable()
103 M, IntArrayTy, LookupTable.isConstant(), LookupTable.getLinkage(), in createRelLookupTable()
H A DSCCPSolver.cpp56 return LV.isConstant() || in isConstant()
894 if (!SCCPSolver::isConstant(LV)) in isStructLatticeConstant()
902 if (LV.isConstant()) { in getConstant()
926 ConstVals.push_back(SCCPSolver::isConstant(LV) in getConstantOrNull()
1411 if (SCCPSolver::isConstant(V0State)) in visitUnaryOperator()
1436 if (SCCPSolver::isConstant(V0State) && in visitFreezeInst()
1461 if ((V1State.isConstant() || V2State.isConstant())) { in visitBinaryOperator()
1462 Value *V1 = SCCPSolver::isConstant(V1State) in visitBinaryOperator()
1465 Value *V2 = SCCPSolver::isConstant(V2State) in visitBinaryOperator()
1522 !SCCPSolver::isConstant(ValueState[&I])) in visitCmpInst()
[all …]
H A DCtorUtils.cpp49 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(), in removeGlobalCtors()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64GlobalsTagging.cpp40 if (G.getName().starts_with("llvm.") || G.isThreadLocal() || G.isConstant()) { in shouldTagGlobal()
104 M, Initializer->getType(), G->isConstant(), G->getLinkage(), in tagGlobalDefinition()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp414 if (isConstant(E)) in observeStmt()
448 bool isConstant(const InitListExpr *Candidate) const { in isConstant() function in __anon4041c0e70211::DeadStoreObs
452 return isConstant(Init->IgnoreParenCasts()); in isConstant()
457 bool isConstant(const Expr *E) const { in isConstant() function in __anon4041c0e70211::DeadStoreObs
464 return isConstant(ILE); in isConstant()
H A DFixedAddressChecker.cpp48 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp246 bool SVal::isConstant() const { in isConstant() function in SVal
250 bool SVal::isConstant(int I) const { in isConstant() function in SVal
259 return isConstant(0); in isZeroConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetObjectFile.cpp43 if (GVar && GVar->isConstant() && in SelectSectionForGlobal()
H A DPPCMergeStringPool.cpp168 LLVM_DEBUG(dbgs() << "isConstant() " << Global.isConstant() << "\n"); in collectCandidateConstants()
173 if (!Global.isConstant() || !Global.hasInitializer()) in collectCandidateConstants()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.h176 bool isConstant() const { return !isIndex(); } in isConstant() function
196 assert(isConstant()); in getConstant()
H A DCGCUDARuntime.h71 bool isConstant() const { return Constant; } in isConstant() function
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp89 if (GV->isConstant()) in isSuitableForBSS()
252 if (GVar->isConstant()) { in getKindForGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUMemoryUtils.cpp54 if (GV.isConstant()) { in isLDSVariableToLower()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DExtractGV.cpp74 !GV.isDeclaration() && (!GV.isConstant() || !keepConstInit); in run()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h50 bool isConstant() const { in isConstant() function
58 assert(isConstant() && "Can only get value when all bits are known"); in getConstant()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSCCPSolver.h198 static bool isConstant(const ValueLatticeElement &LV);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Linker/
H A DLinkModules.cpp350 (!DGVar->isConstant() || !SGVar->isConstant())) { in linkIfNeeded()
562 Var->isConstant(), Var->getLinkage(), in run()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/
H A DVERegisterInfo.td151 let isConstant = true in
157 let isConstant = true in

1234567