/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ValueLattice.h | 240 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() 287 if (isConstant()) 320 if (isConstant()) { 390 assert(isUnknown() || isUndef() || isConstant()); 391 assert((!isConstant() || NewR.contains(getConstant()->toConstantRange())) && 415 if (RHS.isConstant()) 429 if (isConstant()) { 430 if (RHS.isConstant() && getConstant() == RHS.getConstant())
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueLattice.cpp | 26 if (isConstant() && Other.isConstant()) in getCompare() 32 if ((isNotConstant() && Other.isConstant() && in getCompare() 34 (isConstant() && Other.isNotConstant() && in getCompare()
|
H A D | ValueLatticeUtils.cpp | 28 if (GV->isConstant() || !GV->hasLocalLinkage() || in canTrackGlobalVariableInterprocedurally()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | PseudoSourceValue.cpp | 41 bool PseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in PseudoSourceValue 59 bool FixedStackPseudoSourceValue::isConstant( in isConstant() function in FixedStackPseudoSourceValue 85 bool CallEntryPseudoSourceValue::isConstant(const MachineFrameInfo *) const { in isConstant() function in CallEntryPseudoSourceValue
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | PseudoSourceValue.h | 77 virtual bool isConstant(const MachineFrameInfo *) const; in getTargetCustom() 101 bool isConstant(const MachineFrameInfo *MFI) const override; in classof() 117 bool isConstant(const MachineFrameInfo *) const override;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | GlobalVariable.h | 58 GlobalVariable(Type *Ty, bool isConstant, LinkageTypes Linkage, 64 GlobalVariable(Module &M, Type *Ty, bool isConstant, LinkageTypes Linkage, 158 bool isConstant() const { return isConstantGlobal; } in setExternallyInitialized() 152 bool isConstant() const { return isConstantGlobal; } isConstant() function
|
H A D | MDBuilder.h | 197 bool isConstant = false);
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | RelLookupTableConverter.cpp | 32 !GV.isConstant() || in shouldConvertToRelLookupTable() 81 if (!GlovalVarOp || !GlovalVarOp->isConstant()) in shouldConvertToRelLookupTable() 103 M, IntArrayTy, LookupTable.isConstant(), LookupTable.getLinkage(), in createRelLookupTable()
|
H A D | SCCPSolver.cpp | 47 bool SCCPSolver::isConstant(const ValueLatticeElement &LV) { in isConstant() function in llvm::SCCPSolver 48 return LV.isConstant() || in isConstant() 53 return !LV.isUnknownOrUndef() && !SCCPSolver::isConstant(LV); in isOverdefined() 938 if (!SCCPSolver::isConstant(LV)) in isStructLatticeConstant() 946 if (LV.isConstant()) { in getConstant() 970 ConstVals.push_back(SCCPSolver::isConstant(LV) in getConstantOrNull() 979 Const = SCCPSolver::isConstant(LV) ? getConstant(LV, V->getType()) in getConstantOrNull() 1449 if (SCCPSolver::isConstant(V0State)) in visitUnaryOperator() 1474 if (SCCPSolver::isConstant(V0State) && in visitFreezeInst() 1499 if ((V1State.isConstant() || V2State.isConstant())) { in visitBinaryOperator() [all …]
|
H A D | CtorUtils.cpp | 49 new GlobalVariable(CA->getType(), GCL->isConstant(), GCL->getLinkage(), in removeGlobalCtors()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64GlobalsTagging.cpp | 40 if (G.getName().starts_with("llvm.") || G.isThreadLocal() || G.isConstant()) { in shouldTagGlobal() 104 M, Initializer->getType(), G->isConstant(), G->getLinkage(), in AArch64GlobalsTagging()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | SVals.cpp | 246 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/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetObjectFile.cpp | 43 if (GVar && GVar->isConstant() && in SelectSectionForGlobal()
|
H A D | PPCMergeStringPool.cpp | 169 LLVM_DEBUG(dbgs() << "isConstant() " << Global.isConstant() << "\n"); in collectCandidateConstants() 174 if (!Global.isConstant() || !Global.hasInitializer()) in collectCandidateConstants()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBlocks.h | 176 bool isConstant() const { return !isIndex(); } in isConstant() function 196 assert(isConstant()); in getConstant()
|
H A D | CGCUDARuntime.h | 76 bool isConstant() const { return Constant; } in isConstant() function
|
/freebsd/contrib/llvm-project/llvm/lib/MCA/ |
H A D | InstrBuilder.cpp | 341 if (MRI.isConstant(Op.getReg())) { in populateWrites() 423 if (MRI.isConstant(Op.getReg())) in populateWrites() 460 if (MRI.isConstant(Op.getReg())) in populateReads() 479 if (MRI.isConstant(Read.RegisterID)) in populateReads() 806 if ((WD.IsOptionalDef && !RegID) || MRI.isConstant(RegID)) { in createInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 89 if (GV->isConstant()) in isSuitableForBSS() 252 if (GVar->isConstant()) { in getKindForGlobal()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | KnownBits.h | 50 bool isConstant() const { in isConstant() function 57 assert(isConstant() && "Can only get value when all bits are known"); in getConstant()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ExtractGV.cpp | 74 !GV.isDeclaration() && (!GV.isConstant() || !keepConstInit); in run()
|
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | LinkModules.cpp | 350 (!DGVar->isConstant() || !SGVar->isConstant())) { in linkIfNeeded() 562 Var->isConstant(), Var->getLinkage(), in run()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VERegisterInfo.td | 151 let isConstant = true in 157 let isConstant = true in
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | SCCPSolver.h | 202 static bool isConstant(const ValueLatticeElement &LV);
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SVals.h | 110 bool isConstant() const; 112 bool isConstant(int I) const;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsTargetObjectFile.cpp | 134 if (EmbeddedData && GVA->isConstant()) in IsGlobalInSmallSectionImpl()
|