Home
last modified time | relevance | path

Searched refs:getValue (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDBasicValueFactory.cpp66 I->getValue().~APSInt(); in ~BasicValueFactory()
72 const llvm::APSInt& BasicValueFactory::getValue(const llvm::APSInt& X) { in getValue() function in BasicValueFactory
89 const llvm::APSInt& BasicValueFactory::getValue(const llvm::APInt& X, in getValue() function in BasicValueFactory
92 return getValue(V); in getValue()
95 const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, unsigned BitWidth, in getValue() function in BasicValueFactory
99 return getValue(V); in getValue()
102 const llvm::APSInt& BasicValueFactory::getValue(uint64_t X, QualType T) { in getValue() function in BasicValueFactory
104 return getValue(getAPSIntType(T).getValue(X)); in getValue()
154 return &getValue( V1 * V2 ); in evalAPSInt()
159 return &getValue( V1 / V2 ); in evalAPSInt()
[all …]
HDSVals.cpp163 return getValue()->begin(); in begin()
167 return getValue()->end(); in end()
180 return LV->getValue() == I; in isConstant()
182 return NV->getValue() == I; in isConstant()
199 svalBuilder.getBasicValueFactory().evalAPSInt(Op, getValue(), R.getValue()); in evalBinOp()
209 return svalBuilder.makeIntVal(~getValue()); in evalComplement()
214 return svalBuilder.makeIntVal(-getValue()); in evalMinus()
227 const llvm::APSInt *X = BasicVals.evalAPSInt(Op, getValue(), R.getValue()); in evalBinOp()
262 if (C.getValue().isUnsigned()) in dumpToStream()
263 os << C.getValue().getZExtValue(); in dumpToStream()
[all …]
HDAnalyzerOptions.cpp116 return StringRef(I->getValue()); in getCheckerOption()
147 return V.getValue(); in getBooleanOption()
262 return AlwaysInlineSize.getValue(); in getAlwaysInlineSize()
283 return MaxInlinableSize.getValue(); in getMaxInlinableSize()
289 return GraphTrimInterval.getValue(); in getGraphTrimInterval()
295 return MaxTimesInlineLarge.getValue(); in getMaxTimesInlineLarge()
314 return MaxNodesPerTopLevelFunction.getValue(); in getMaxNodesPerTopLevelFunction()
/NextBSD/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
HDBasicValueFactory.h79 const llvm::APSInt& getValue(uint64_t X, unsigned BitWidth, bool isUnsigned);
90 const llvm::APSInt& getValue(const llvm::APSInt& X);
91 const llvm::APSInt& getValue(const llvm::APInt& X, bool isUnsigned);
92 const llvm::APSInt& getValue(uint64_t X, QualType T);
109 return getValue(TargetType.convert(From)); in Convert()
117 return getValue(TargetType.convert(From)); in Convert()
122 return getValue(X, T); in getIntValue()
126 return getValue(APSIntType(v).getMaxValue()); in getMaxValue()
130 return getValue(APSIntType(v).getMinValue()); in getMinValue()
134 return getValue(getAPSIntType(T).getMaxValue()); in getMaxValue()
[all …]
HDSValBuilder.h223 return nonloc::ConcreteInt(BasicVals.getValue(0, ArrayIndexTy)); in makeZeroArrayIndex()
227 return nonloc::ConcreteInt(BasicVals.getValue(idx, ArrayIndexTy)); in makeArrayIndex()
234 BasicVals.getValue(integer->getValue(), in makeIntVal()
239 return makeTruthVal(boolean->getValue(), boolean->getType()); in makeBoolVal()
245 return nonloc::ConcreteInt(BasicVals.getValue(integer)); in makeIntVal()
249 return loc::ConcreteInt(BasicVals.getValue(integer)); in makeIntLocVal()
253 return nonloc::ConcreteInt(BasicVals.getValue(integer, isUnsigned)); in makeIntVal()
258 return loc::ConcreteInt(BasicVals.getValue(integer, type)); in makeIntVal()
260 return nonloc::ConcreteInt(BasicVals.getValue(integer, type)); in makeIntVal()
313 return loc::ConcreteInt(BasicVals.getValue(integer)); in makeLoc()
/NextBSD/contrib/llvm/include/llvm/CodeGen/PBQP/
HDCostAllocator.h41 const ValueT& getValue() const { return Value; } in getValue() function
61 return getHashValue(P->getValue()); in getHashValue()
65 return getHashValue(P->getValue()); in getHashValue()
78 return isEqual(C, P->getValue()); in isEqual()
84 return isEqual(P1->getValue(), P2); in isEqual()
96 template <typename ValueKeyT> PoolRef getValue(ValueKeyT ValueKey) { in getValue() function
100 return PoolRef((*I)->shared_from_this(), &(*I)->getValue()); in getValue()
104 return PoolRef(std::move(P), &P->getValue()); in getValue()
120 VectorPtr getVector(VectorKeyT v) { return VectorPool.getValue(std::move(v)); } in getVector()
123 MatrixPtr getMatrix(MatrixKeyT m) { return MatrixPool.getValue(std::move(m)); } in getMatrix()
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDSymbolRewriter.cpp287 Value = dyn_cast<yaml::MappingNode>(Entry.getValue()); in parseEntry()
289 YS.printError(Entry.getValue(), "rewrite descriptor must be a map"); in parseEntry()
293 RewriteType = Key->getValue(KeyStorage); in parseEntry()
327 Value = dyn_cast<yaml::ScalarNode>(Field.getValue()); in parseRewriteFunctionDescriptor()
329 YS.printError(Field.getValue(), "descriptor value must be a scalar"); in parseRewriteFunctionDescriptor()
333 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
337 Source = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
343 Target = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
345 Transform = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
349 Undecorated = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
[all …]
/NextBSD/contrib/llvm/lib/TableGen/
HDRecord.cpp247 return IntInit::get(getValue()); in convertInitializerTo()
304 Result |= static_cast<int64_t>(Bit->getValue()) << i; in convertInitializerTo()
419 int64_t Val = getValue(); in convertInitializerTo()
425 int64_t Value = getValue(); in convertInitializerTo()
631 std::string Name = LHSs->getValue(); in Fold()
635 if (const RecordVal *RV = CurRec->getValue(Name)) { in Fold()
645 const RecordVal *RV = CurRec->getValue(TemplateArgName); in Fold()
660 const RecordVal *RV = CurMultiClass->Rec.getValue(MCName); in Fold()
699 return IntInit::get(LHSs->getValue().empty()); in Fold()
783 return StringInit::get(LHSs->getValue() + RHSs->getValue()); in Fold()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/InstCombine/
HDInstCombineAndOrXor.cpp36 return ConstantInt::get(C->getType(), ~C->getValue()); in dyn_castNotVal()
140 Builder->getInt(ConstLHS->getValue().byteSwap()); in SimplifyBSwap()
143 Builder->getInt(ConstRHS->getValue().byteSwap()); in SimplifyBSwap()
206 const APInt &AndRHSV = AndRHS->getValue(); in OptAndOp()
213 const APInt& AddRHS = OpRHS->getValue(); in OptAndOp()
242 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShlMask); in OptAndOp()
244 if (CI->getValue() == ShlMask) in OptAndOp()
262 ConstantInt *CI = Builder->getInt(AndRHS->getValue() & ShrMask); in OptAndOp()
264 if (CI->getValue() == ShrMask) in OptAndOp()
282 Constant *C = Builder->getInt(AndRHS->getValue() & ShrMask); in OptAndOp()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Rewrite/
HDDeltaTree.cpp93 const SourceDelta &getValue(unsigned i) const { in getValue() function in __anon5c215cbe0111::DeltaTreeNode
97 SourceDelta &getValue(unsigned i) { in getValue() function in __anon5c215cbe0111::DeltaTreeNode
186 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
191 if (i != e && getValue(i).FileLoc == FileIndex) { in DoInsertion()
271 while (i != e && SubSplit.FileLoc > InsertSide->getValue(i).FileLoc) in DoInsertion()
350 assert(N->getValue(i-1).FileLoc < N->getValue(i).FileLoc); in VerifyTree()
351 FullDelta += N->getValue(i).Delta; in VerifyTree()
361 const SourceDelta &IVal = N->getValue(i); in VerifyTree()
364 assert(IN->getValue(i-1).FileLoc < IVal.FileLoc); in VerifyTree()
369 assert(IChild->getValue(IChild->getNumValuesUsed()-1).FileLoc < in VerifyTree()
[all …]
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDSelectionDAGBuilder.cpp640 *Flag = P.getValue(2); in getCopyFromRegs()
643 Chain = P.getValue(1); in getCopyFromRegs()
728 getCopyToParts(DAG, dl, Val.getValue(Val.getResNo() + Value), in getCopyToRegs()
741 *Flag = Part.getValue(1); in getCopyToRegs()
744 Chains[i] = Part.getValue(0); in getCopyToRegs()
981 SDValue SelectionDAGBuilder::getValue(const Value *V) { in getValue() function in SelectionDAGBuilder
1068 SDNode *Val = getValue(*OI).getNode(); in getValueImpl()
1084 SDNode *Val = getValue(CDS->getElementAsConstant(i)).getNode(); in getValueImpl()
1131 Ops.push_back(getValue(CV->getOperand(i))); in getValueImpl()
1190 SDValue RetOp = getValue(I.getOperand(0)); in visitRet()
[all …]
HDStatepointLowering.cpp204 SDValue Incoming = Builder.getValue(IncomingValue); in reservePreviousStackSlotForValue()
263 SDValue SD = Builder.getValue(Ptrs[i]); in removeDuplicatesGCPtrs()
292 SDValue ActualCallee = Builder.getValue(ISP.getCalledValue()); in lowerCallFromStatepoint()
488 assert(Opt.getValue() && in lowerStatepointMetaArgs()
495 assert(Opt.getValue() && in lowerStatepointMetaArgs()
502 assert(Opt.getValue() && "non gc managed pointer relocated"); in lowerStatepointMetaArgs()
536 SDValue Incoming = Builder.getValue(V); in lowerStatepointMetaArgs()
547 lowerIncomingStatepointValue(Builder.getValue(Base), Ops, Builder); in lowerStatepointMetaArgs()
550 lowerIncomingStatepointValue(Builder.getValue(Ptr), Ops, Builder); in lowerStatepointMetaArgs()
559 SDValue Incoming = Builder.getValue(V); in lowerStatepointMetaArgs()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDCompilerInvocation.cpp89 StringRef S(A->getValue()); in getOptimizationLevel()
102 switch (A->getValue()[0]) { in getOptimizationLevelSize()
139 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
155 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
171 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
187 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
203 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
248 StringRef checkerList = A->getValue(); in ParseAnalyzerArgs()
260 StringRef configList = A->getValue(); in ParseAnalyzerArgs()
299 StringRef Value = A->getValue(); in getCodeModel()
[all …]
/NextBSD/contrib/llvm/lib/Analysis/
HDScalarEvolution.cpp145 cast<SCEVConstant>(this)->getValue()->printAsOperand(OS, false); in print()
242 U->getValue()->printAsOperand(OS, false); in print()
279 return SC->getValue()->isZero(); in isZero()
285 return SC->getValue()->isOne(); in isOne()
291 return SC->getValue()->isAllOnesValue(); in isAllOnesValue()
306 return SC->getValue()->getValue().isNegative(); in isNonConstantNegative()
390 if (ConstantExpr *VCE = dyn_cast<ConstantExpr>(getValue())) in isSizeOf()
407 if (ConstantExpr *VCE = dyn_cast<ConstantExpr>(getValue())) in isAlignOf()
432 if (ConstantExpr *VCE = dyn_cast<ConstantExpr>(getValue())) in isOffsetOf()
494 const Value *LV = LU->getValue(), *RV = RU->getValue(); in compare()
[all …]
/NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/
HDDwarfStringPool.cpp50 Entries[E.getValue().Index] = &E; in emit()
53 assert(ShouldCreateSymbols == static_cast<bool>(Entry->getValue().Symbol) && in emit()
58 Asm.OutStreamer->EmitLabel(Entry->getValue().Symbol); in emit()
62 Twine(Entry->getValue().Offset)); in emit()
72 Asm.OutStreamer->EmitIntValue(Entry->getValue().Offset, size); in emit()
/NextBSD/contrib/llvm/tools/clang/lib/Tooling/
HDJSONCompilationDatabase.cpp187 getCommands(CommandsRefI->getValue(), Commands); in getCompileCommands()
212 getCommands(CommandsRefI->getValue(), Commands); in getAllCompileCommands()
225 CommandsRef[I].first->getValue(DirectoryStorage), in getCommands()
226 unescapeCommandLine(CommandsRef[I].second->getValue(CommandStorage))); in getCommands()
260 llvm::yaml::Node *Value = (*KVI).getValue(); in parse()
278 if (KeyString->getValue(KeyStorage) == "directory") { in parse()
280 } else if (KeyString->getValue(KeyStorage) == "command") { in parse()
282 } else if (KeyString->getValue(KeyStorage) == "file") { in parse()
303 StringRef FileName = File->getValue(FileStorage); in parse()
308 Directory->getValue(DirectoryStorage)); in parse()
/NextBSD/contrib/llvm/include/llvm/Support/
HDStringPool.h86 if (S) ++S->getValue().Refcount; in PooledStringPtr()
90 if (S) ++S->getValue().Refcount; in PooledStringPtr()
97 if (S) ++S->getValue().Refcount;
105 if (--S->getValue().Refcount == 0) { in clear()
106 S->getValue().Pool->InternTable.remove(S); in clear()
/NextBSD/contrib/llvm/lib/Target/AArch64/AsmParser/
HDAArch64AsmParser.cpp424 int64_t Val = MCE->getValue(); in isSImm9()
433 int64_t Val = MCE->getValue(); in isSImm7s4()
442 int64_t Val = MCE->getValue(); in isSImm7s8()
451 int64_t Val = MCE->getValue(); in isSImm7s16()
496 int64_t Val = MCE->getValue(); in isUImm12Offset()
506 int64_t Val = MCE->getValue(); in isImm0_7()
515 int64_t Val = MCE->getValue(); in isImm1_8()
524 int64_t Val = MCE->getValue(); in isImm0_15()
533 int64_t Val = MCE->getValue(); in isImm1_16()
542 int64_t Val = MCE->getValue(); in isImm0_31()
[all …]
/NextBSD/contrib/llvm/lib/IR/
HDIntrinsicInst.cpp55 return V->getValue(); in getValueImpl()
77 const Value *DbgValueInst::getValue() const { in getValue() function in DbgValueInst
78 return const_cast<DbgValueInst *>(this)->getValue(); in getValue()
81 Value *DbgValueInst::getValue() { return getValueImpl(getArgOperand(0)); } in getValue() function in DbgValueInst
/NextBSD/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
HDRuntimeDyldChecker.cpp62 if (LHSResult.getValue() != RHSResult.getValue()) { in evaluate()
64 << format("0x%" PRIx64, LHSResult.getValue()) in evaluate()
65 << " != " << format("0x%" PRIx64, RHSResult.getValue()) in evaluate()
101 uint64_t getValue() const { return Value; } in getValue() function in llvm::RuntimeDyldCheckerExprEval::EvalResult
189 return EvalResult(LHSResult.getValue() + RHSResult.getValue()); in computeBinOpResult()
191 return EvalResult(LHSResult.getValue() - RHSResult.getValue()); in computeBinOpResult()
193 return EvalResult(LHSResult.getValue() & RHSResult.getValue()); in computeBinOpResult()
195 return EvalResult(LHSResult.getValue() | RHSResult.getValue()); in computeBinOpResult()
197 return EvalResult(LHSResult.getValue() << RHSResult.getValue()); in computeBinOpResult()
199 return EvalResult(LHSResult.getValue() >> RHSResult.getValue()); in computeBinOpResult()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaCUDA.cpp203 InferredTarget.getValue(), BaseMethodTarget, in inferCUDATargetForImplicitSpecialMember()
209 << (unsigned)CSM << InferredTarget.getValue() << BaseMethodTarget; in inferCUDATargetForImplicitSpecialMember()
248 InferredTarget.getValue(), FieldMethodTarget, in inferCUDATargetForImplicitSpecialMember()
254 << (unsigned)CSM << InferredTarget.getValue() in inferCUDATargetForImplicitSpecialMember()
264 if (InferredTarget.getValue() == CFT_Device) { in inferCUDATargetForImplicitSpecialMember()
266 } else if (InferredTarget.getValue() == CFT_Host) { in inferCUDATargetForImplicitSpecialMember()
/NextBSD/contrib/llvm/tools/clang/lib/Driver/
HDDriver.cpp231 (A->getValue(0) == StringRef("-MD") || in TranslateInputArgs()
232 A->getValue(0) == StringRef("-MMD"))) { in TranslateInputArgs()
234 if (A->getValue(0) == StringRef("-MD")) in TranslateInputArgs()
240 A->getValue(1)); in TranslateInputArgs()
246 StringRef Value = A->getValue(); in TranslateInputArgs()
295 DefaultTargetTriple = A->getValue(); in computeTargetTriple()
309 StringRef ArchName = A->getValue(); in computeTargetTriple()
405 CCCGenericGCCName = A->getValue(); in BuildCompilation()
418 DefaultTargetTriple = A->getValue(); in BuildCompilation()
420 Dir = InstalledDir = A->getValue(); in BuildCompilation()
[all …]
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86SelectionDAGInfo.cpp149 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
154 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
159 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
162 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
169 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
178 InFlag = Chain.getValue(1); in EmitTargetCodeForMemset()
255 InFlag = Chain.getValue(1); in EmitTargetCodeForMemcpy()
259 InFlag = Chain.getValue(1); in EmitTargetCodeForMemcpy()
263 InFlag = Chain.getValue(1); in EmitTargetCodeForMemcpy()
/NextBSD/contrib/llvm/include/llvm/ADT/
HDImmutableSet.h69 const value_type& getValue() const { return value; } in getValue() function
76 key_type_ref CurrentKey = ImutInfo::KeyOfValue(T->getValue()); in find()
118 if (!ImutInfo::isEqual(ImutInfo::KeyOfValue(getValue()), in isElementEqual()
123 if (!ImutInfo::isDataEqual(ImutInfo::DataOfValue(getValue()), in isElementEqual()
131 return isElementEqual(RHS->getValue()); in isElementEqual()
203 ImutInfo::isLess(ImutInfo::KeyOfValue(getLeft()->getValue()), in validateTree()
204 ImutInfo::KeyOfValue(getValue()))) && in validateTree()
209 ImutInfo::isLess(ImutInfo::KeyOfValue(getValue()), in validateTree()
210 ImutInfo::KeyOfValue(getRight()->getValue()))) && in validateTree()
320 uint32_t X = computeDigest(getLeft(), getRight(), getValue()); in computeDigest()
[all …]
/NextBSD/contrib/llvm/utils/TableGen/
HDCodeGenMapTable.cpp107 const RecordVal *Filter = MapRec->getValue("FilterClass"); in InstrMap()
108 FilterClass = Filter->getValue()->getAsUnquotedString(); in InstrMap()
246 Init *CurInstrVal = CurInstr->getValue(RowField)->getValue(); in buildRowInstrMap()
272 RecordVal *ColFieldName = CurInstr->getValue(ColFields->getElement(j)); in isKeyColInstr()
273 std::string CurInstrVal = ColFieldName->getValue()->getAsUnquotedString(); in isKeyColInstr()
314 Init *KeyInstrVal = KeyInstr->getValue(RowField)->getValue(); in getInstrForColumn()
333 Init *CurInstrInit = CurInstr->getValue(ColFieldJ)->getValue(); in getInstrForColumn()

12345678910>>...17