Home
last modified time | relevance | path

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

12345678910>>...16

/minix/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DBasicValueFactory.cpp66 I->getValue().~APSInt(); in ~BasicValueFactory()
92 return getValue(V); in getValue()
99 return getValue(V); in getValue()
104 return getValue(getAPSIntType(T).getValue(X)); in getValue()
154 return &getValue( V1 * V2 ); in evalAPSInt()
157 return &getValue( V1 / V2 ); in evalAPSInt()
160 return &getValue( V1 % V2 ); in evalAPSInt()
163 return &getValue( V1 + V2 ); in evalAPSInt()
166 return &getValue( V1 - V2 ); in evalAPSInt()
258 return P->getValue(); in getPersistentSValWithData()
[all …]
H A DSVals.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 …]
H A DAnalyzerOptions.cpp119 return V.getValue(); in getBooleanOption()
218 return AlwaysInlineSize.getValue(); in getAlwaysInlineSize()
239 return MaxInlinableSize.getValue(); in getMaxInlinableSize()
245 return GraphTrimInterval.getValue(); in getGraphTrimInterval()
251 return MaxTimesInlineLarge.getValue(); in getMaxTimesInlineLarge()
270 return MaxNodesPerTopLevelFunction.getValue(); in getMaxNodesPerTopLevelFunction()
/minix/external/bsd/llvm/dist/llvm/unittests/ADT/
H A DDenseMapTest.cpp54 int getValue() const { return Value; } in getValue() function in __anon1de6da4c0111::CtorTester
64 return Val.getValue() * 37u; in getHashValue()
89 typename T::mapped_type getValue(int i = 0) { in getValue() function in __anon1de6da4c0111::DenseMapTest
145 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
155 EXPECT_EQ(this->getValue(), it->second); in TYPED_TEST()
168 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
178 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
188 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
205 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
242 this->Map[this->getKey()] = this->getValue(); in TYPED_TEST()
[all …]
H A DSmallVectorTest.cpp82 int getValue() const { in getValue() function in __anon6aae044b0111::Constructable
125 return c0.getValue() == c1.getValue(); in operator ==()
130 return c0.getValue() != c1.getValue(); in operator !=()
349 EXPECT_EQ(1, it->getValue()); in TYPED_TEST()
353 EXPECT_EQ(2, it->getValue()); in TYPED_TEST()
358 EXPECT_EQ(2, it->getValue()); in TYPED_TEST()
361 EXPECT_EQ(1, it->getValue()); in TYPED_TEST()
366 EXPECT_EQ(2, rit->getValue()); in TYPED_TEST()
369 EXPECT_EQ(1, rit->getValue()); in TYPED_TEST()
374 EXPECT_EQ(1, rit->getValue()); in TYPED_TEST()
[all …]
/minix/external/bsd/llvm/dist/clang/test/CXX/over/over.built/
H A Dp23.cpp8 Variant getValue();
11 bool ret1 = getValue() || getValue(); in testVariant()
12 bool ret2 = getValue() && getValue(); in testVariant()
13 bool ret3 = !getValue(); in testVariant()
/minix/external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h90 const llvm::APSInt& getValue(const llvm::APSInt& X);
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()
138 return getValue(getAPSIntType(T).getMinValue()); in getMinValue()
144 return getValue(X); in Add1()
[all …]
H A DSValBuilder.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()
/minix/external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/
H A DCostAllocator.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()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp290 RewriteType = Key->getValue(KeyStorage); in parseEntry()
330 KeyValue = Key->getValue(KeyStorage); in parseRewriteFunctionDescriptor()
334 Source = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
340 Target = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
342 Transform = Value->getValue(ValueStorage); in parseRewriteFunctionDescriptor()
397 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalVariableDescriptor()
401 Source = Value->getValue(ValueStorage); in parseRewriteGlobalVariableDescriptor()
407 Target = Value->getValue(ValueStorage); in parseRewriteGlobalVariableDescriptor()
459 KeyValue = Key->getValue(KeyStorage); in parseRewriteGlobalAliasDescriptor()
463 Source = Value->getValue(ValueStorage); in parseRewriteGlobalAliasDescriptor()
[all …]
/minix/external/bsd/llvm/dist/llvm/lib/TableGen/
H A DRecord.cpp944 return StringInit::get(LHSs->getValue() + RHSs->getValue()); in Fold()
956 return IntInit::get(L->getValue() == R->getValue()); in Fold()
963 return IntInit::get(LHSs->getValue() == RHSs->getValue()); in Fold()
977 int64_t LHSv = LHSi->getValue(), RHSv = RHSi->getValue(); in Fold()
1202 Val.replace(found, LHSs->getValue().size(), MHSs->getValue()); in Fold()
1498 return Def->getValue(FieldName)->getValue(); in getFieldInit()
1672 if (getValue()) in print()
1801 return R->getValue(); in getValueInit()
1816 return SI->getValue(); in getValueAsString()
1883 return II->getValue(); in getValueAsInt()
[all …]
/minix/external/bsd/llvm/dist/clang/lib/Rewrite/
H A DDeltaTree.cpp93 const SourceDelta &getValue(unsigned i) const { in getValue() function in __anoneb105c300111::DeltaTreeNode
97 SourceDelta &getValue(unsigned i) { in getValue() function in __anoneb105c300111::DeltaTreeNode
186 while (i != e && FileIndex > getValue(i).FileLoc) in DoInsertion()
191 if (i != e && getValue(i).FileLoc == FileIndex) { 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()
373 assert(IN->getChild(i+1)->getValue(0).FileLoc > IVal.FileLoc); in VerifyTree()
417 const SourceDelta &Val = Node->getValue(NumValsGreater); in getDeltaAt()
[all …]
/minix/external/bsd/llvm/dist/llvm/include/llvm/Support/
H A DStringPool.h88 if (S) ++S->getValue().Refcount; in PooledStringPtr()
92 if (S) ++S->getValue().Refcount; in PooledStringPtr()
99 if (S) ++S->getValue().Refcount;
107 if (--S->getValue().Refcount == 0) { in clear()
108 S->getValue().Pool->InternTable.remove(S); in clear()
/minix/external/bsd/llvm/dist/llvm/lib/IR/
H A DIntrinsicInst.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
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp792 APInt NewMask = BCst->getValue() & DCst->getValue(); in foldLogOpOfMaskedICmps()
832 if (((BCst->getValue() & DCst->getValue()) & in foldLogOpOfMaskedICmps()
833 (CCst->getValue() ^ ECst->getValue())) != 0) in foldLogOpOfMaskedICmps()
1762 LHSCst->getValue() == (RHSCst->getValue())) { in FoldOrOfICmps()
1771 LAddCst->getValue().ugt(LHSCst->getValue()) && in FoldOrOfICmps()
1772 RAddCst->getValue().ugt(LHSCst->getValue())) { in FoldOrOfICmps()
1873 if (RHSCst->getValue() + AddCst->getValue() == LHSCst->getValue()) in FoldOrOfICmps()
2116 APInt Xor = CI1->getValue() ^ CI2->getValue(); in FoldOrWithConstants()
2147 APInt Xor = CI1->getValue() ^ CI2->getValue(); in FoldXorWithConstants()
2186 (RHS->getValue() & C1->getValue()) != 0 && in visitOr()
[all …]
/minix/external/bsd/llvm/dist/clang/test/Analysis/inlining/
H A Dfalse-positive-suppression.cpp54 int *&getValue(int key) { in getValue() function in References::Map
65 int *&valueBox = getValue(key); in getValueIndirectly()
71 *m.getValue(i) = 1; in testMap()
81 int *&box = m.getValue(i); in testMap()
86 int *&box2 = m.getValue(i); in testMap()
H A Deager-reclamation-path-notes.cpp6 int getValue();
33 return ptr->getValue(); // expected-warning {{Called C++ object pointer is null}} in memberCallBaseDisappears()
/minix/external/bsd/llvm/dist/llvm/lib/Option/
H A DArg.cpp87 Output.push_back(getValue(i)); in renderAsInput()
94 Output.push_back(getValue(i)); in render()
103 OS << getValue(i); in render()
111 getIndex(), getSpelling(), getValue(0))); in render()
113 Output.push_back(getValue(i)); in render()
119 Output.push_back(getValue(i)); in render()
/minix/external/bsd/llvm/dist/clang/lib/Tooling/
H A DJSONCompilationDatabase.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()
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp702 Chain = P.getValue(1); in getCopyFromRegs()
3077 SDValue N = getValue(SV); in visitAddrSpaceCast()
3385 SDValue N = getValue(Op0); in visitGetElementPtr()
3720 getValue(I.getPointerOperand()), getValue(I.getCompareOperand()), in visitAtomicCmpXchg()
5086 getValue(I.getArgOperand(0)), getValue(I.getArgOperand(1)), in visitIntrinsicCall()
5839 getValue(LHS), getValue(RHS), getValue(Size), in visitMemCmpCall()
5936 getValue(Src), getValue(Char), getValue(Length), in visitMemChrCall()
5964 getValue(Arg0), getValue(Arg1), in visitStrCpyCall()
5993 getValue(Arg0), getValue(Arg1), in visitStrCmpCall()
6047 getValue(Arg0), getValue(Arg1), in visitStrNLenCall()
[all …]
/minix/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DImmutableMap.h220 typename iterator::reference operator*() const { return itr->getValue(); }
223 key_type_ref getKey() const { return itr->getValue().first; } in getKey()
224 data_type_ref getData() const { return itr->getValue().second; } in getData()
241 if (T) return &T->getValue().second; in lookup()
251 return Root ? &(Root->getMaxElement()->getValue()) : nullptr; in getMaxElement()
388 value_type_ref operator*() const { return itr->getValue(); }
389 value_type* operator->() const { return &itr->getValue(); }
391 key_type_ref getKey() const { return itr->getValue().first; } in getKey()
392 data_type_ref getData() const { return itr->getValue().second; } in getData()
409 if (T) return &T->getValue().second; in lookup()
[all …]
/minix/external/bsd/llvm/dist/clang/lib/Frontend/
H A DCompilerInvocation.cpp91 StringRef S(A->getValue()); in getOptimizationLevel()
104 switch (A->getValue()[0]) { in getOptimizationLevelSize()
141 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
157 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
173 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
189 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
205 StringRef Name = A->getValue(); in ParseAnalyzerArgs()
522 StringRef Val = A->getValue(); in ParseCodeGenArgs()
561 StringRef Val = A->getValue(); in ParseCodeGenArgs()
1088 Prefix = A->getValue(); in ParseHeaderSearchArgs()
[all …]
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DScalarEvolution.cpp306 return SC->getValue()->getValue().isNegative(); in isNonConstantNegative()
545 const APInt &LA = LC->getValue()->getValue(); in compare()
546 const APInt &RA = RC->getValue()->getValue(); in compare()
1603 if (SC->getValue()->getValue().isNegative()) in getAnyExtendExpr()
2545 APInt A = C1->getValue()->getValue().abs(); in gcd()
2546 APInt B = C2->getValue()->getValue().abs(); in gcd()
4154 LCI->getValue() == CI->getValue()) in createSCEV()
5929 const APInt &L = LC->getValue()->getValue(); in SolveQuadraticEquation()
5930 const APInt &M = MC->getValue()->getValue(); in SolveQuadraticEquation()
5931 const APInt &N = NC->getValue()->getValue(); in SolveQuadraticEquation()
[all …]
/minix/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaCUDA.cpp186 InferredTarget.getValue(), BaseMethodTarget, in inferCUDATargetForImplicitSpecialMember()
192 << (unsigned)CSM << InferredTarget.getValue() << BaseMethodTarget; in inferCUDATargetForImplicitSpecialMember()
231 InferredTarget.getValue(), FieldMethodTarget, in inferCUDATargetForImplicitSpecialMember()
237 << (unsigned)CSM << InferredTarget.getValue() in inferCUDATargetForImplicitSpecialMember()
247 if (InferredTarget.getValue() == CFT_Device) { in inferCUDATargetForImplicitSpecialMember()
249 } else if (InferredTarget.getValue() == CFT_Host) { in inferCUDATargetForImplicitSpecialMember()
/minix/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp62 if (LHSResult.getValue() != 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()
254 unsigned OpIdx = OpIdxExpr.getValue(); in evalDecodeOperand()
619 unsigned HighBit = HighBitExpr.getValue(); in evalSliceExpr()
[all …]

12345678910>>...16