HomeSort by relevance Sort by last modified time
    Searched defs:Val (Results 251 - 275 of 992) sorted by null

<<11121314151617181920>>

  /external/clang/lib/Sema/
SemaAttr.cpp 136 llvm::APSInt Val;
142 !Alignment->isIntegerConstantExpr(Val, Context) ||
143 !(Val == 0 || Val.isPowerOf2()) ||
144 Val.getZExtValue() > 16) {
149 AlignmentVal = (unsigned) Val.getZExtValue();
  /external/clang/lib/StaticAnalyzer/Checkers/
GenericTaintChecker.cpp 439 SVal Val = State->getSVal(*AddrLoc,
441 return Val.getAsSymbol();
575 SVal Val = State->getSVal(E, C.getLocationContext());
578 const MemRegion *MemReg = Val.getAsRegion();
  /external/clang/lib/StaticAnalyzer/Core/
SValBuilder.cpp 76 SVal SValBuilder::convertToArrayIndex(SVal val) {
77 if (val.isUnknownOrUndef())
78 return val;
81 if (Optional<nonloc::ConcreteInt> CI = val.getAs<nonloc::ConcreteInt>()) {
84 return val;
87 return evalCastFromNonLoc(val.castAs<NonLoc>(), ArrayIndexTy);
301 Optional<SVal> Val = getConstantVal(SE);
302 if (!Val)
304 return evalCast(*Val, CE->getType(), SE->getType());
434 SVal SValBuilder::evalIntegralCast(ProgramStateRef state, SVal val,
    [all...]
  /external/compiler-rt/lib/ubsan/
ubsan_value.h 149 ValueHandle Val;
151 /// Is \c Val a (zero-extended) integer?
159 /// Is \c Val a (zero-extended) integer representation of a float?
168 Value(const TypeDescriptor &Type, ValueHandle Val) : Type(Type), Val(Val) {}
  /external/llvm/examples/Kaleidoscope/Chapter2/
toy.cpp 105 double Val;
108 NumberExprAST(double Val) : Val(Val) {}
  /external/llvm/include/llvm/ADT/
PointerUnion.h 89 ValTy Val;
103 : Val(const_cast<void *>(
106 : Val(const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(V)),
114 return !PointerLikeTypeTraits<PT1>::getFromVoidPointer(Val.getPointer());
125 return static_cast<int>(Val.getInt()) == TyNo;
133 return PointerLikeTypeTraits<T>::getFromVoidPointer(Val.getPointer());
153 assert(is<PT1>() && "Val is not the first pointer");
155 get<PT1>() == Val.getPointer() &&
157 return (PT1 *)Val.getAddrOfPointer();
162 Val.initWithPointer(nullptr)
    [all...]
ScopedHashTable.h 48 V Val;
49 ScopedHashTableVal(const K &key, const V &val) : Key(key), Val(val) {}
53 const V &getValue() const { return Val; }
54 V &getValue() { return Val; }
63 const K &key, const V &val,
67 new (New) ScopedHashTableVal(key, val);
107 void setLastValInScope(ScopedHashTableVal<K, V> *Val) {
108 LastValInScope = Val;
    [all...]
  /external/llvm/include/llvm/Bitcode/
BitCodes.h 88 uint64_t Val; // A literal value or data for an encoding.
93 Fixed = 1, // A fixed width field, Val specifies number of bits.
94 VBR = 2, // A VBR field where Val specifies the width of each chunk.
100 explicit BitCodeAbbrevOp(uint64_t V) : Val(V), IsLiteral(true) {}
102 : Val(Data), IsLiteral(false), Enc(E) {}
108 uint64_t getLiteralValue() const { assert(isLiteral()); return Val; }
114 return Val;
  /external/llvm/include/llvm/IR/
Attributes.h 87 static Attribute get(LLVMContext &Context, AttrKind Kind, uint64_t Val = 0);
89 StringRef Val = StringRef());
118 bool hasAttribute(AttrKind Val) const;
121 bool hasAttribute(StringRef Val) const;
421 uintptr_t Val = static_cast<uintptr_t>(-1);
422 Val <<= PointerLikeTypeTraits<void*>::NumLowBitsAvailable;
423 return AttributeSet(reinterpret_cast<AttributeSetImpl*>(Val));
426 uintptr_t Val = static_cast<uintptr_t>(-2);
427 Val <<= PointerLikeTypeTraits<void*>::NumLowBitsAvailable;
428 return AttributeSet(reinterpret_cast<AttributeSetImpl*>(Val));
    [all...]
  /external/llvm/include/llvm/MC/MCParser/
MCTargetAsmParser.h 67 unsigned Val;
70 AsmRewrite(AsmRewriteKind kind, SMLoc loc, unsigned len = 0, unsigned val = 0)
71 : Kind(kind), Loc(loc), Len(len), Val(val) {}
73 : Kind(kind), Loc(loc), Len(len), Val(0), Label(label) {}
  /external/llvm/lib/Analysis/
AliasSetTracker.cpp 332 Value *Val = SI->getOperand(0);
334 DL.getTypeStoreSize(Val->getType()),
CFLSteensAliasAnalysis.cpp 94 static bool canSkipAddingToSets(Value *Val);
96 static Optional<Function *> parentFunctionOfValue(Value *Val) {
97 if (auto *Inst = dyn_cast<Instruction>(Val)) {
102 if (auto *Arg = dyn_cast<Argument>(Val))
107 static bool canSkipAddingToSets(Value *Val) {
115 if (isa<Constant>(Val)) {
119 bool CanStoreMutableData = isa<GlobalValue>(Val) ||
120 isa<ConstantExpr>(Val) ||
121 isa<ConstantAggregate>(Val);
204 auto Val = Mapping.first
    [all...]
VectorUtils.cpp 271 Value *Val = nullptr; Constant *Con = nullptr;
272 if (match(V, m_Add(m_Value(Val), m_Constant(Con))))
275 return findScalarElement(Val, EltNo);
353 Value *Val = Worklist.pop_back_val();
354 Value *Leader = ECs.getOrInsertLeaderValue(Val);
356 if (Visited.count(Val))
358 Visited.insert(Val);
361 if (!isa<Instruction>(Val))
363 Instruction *I = cast<Instruction>(Val);
  /external/llvm/lib/AsmParser/
LLLexer.cpp 369 uint64_t Val = atoull(TokStart+1, CurPtr);
370 if ((unsigned)Val != Val)
372 UIntVal = unsigned(Val);
436 uint64_t Val = atoull(TokStart+1, CurPtr);
437 if ((unsigned)Val != Val)
439 UIntVal = unsigned(Val);
  /external/llvm/lib/CodeGen/AsmPrinter/
AsmPrinterInlineAsm.cpp 200 unsigned Val;
201 if (StringRef(IDStart, IDEnd-IDStart).getAsInteger(10, Val))
206 if (Val >= NumOperands-1)
217 for (; Val; --Val) {
334 std::string Val(StrStart, StrEnd);
335 AP->PrintSpecial(MI, OS, Val.c_str());
344 unsigned Val;
345 if (StringRef(IDStart, IDEnd-IDStart).getAsInteger(10, Val))
371 if (Val >= NumOperands-1
    [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp 138 SDValue Val = Parts[0];
169 Val = DAG.getNode(ISD::BUILD_PAIR, DL, RoundVT, Lo, Hi);
179 Lo = Val;
189 Val = DAG.getNode(ISD::OR, DL, TotalVT, Lo, Hi);
200 Val = DAG.getNode(ISD::BUILD_PAIR, DL, ValueVT, Lo, Hi);
206 Val = getCopyFromParts(DAG, DL, Parts, NumParts, PartVT, IntVT, V);
210 // There is now one part, held in Val. Correct it to match ValueVT.
213 EVT PartEVT = Val.getValueType();
216 return Val;
223 Val = DAG.getNode(ISD::TRUNCATE, DL, PartEVT, Val)
    [all...]
  /external/llvm/lib/Fuzzer/
FuzzerDriver.cpp 144 int Val = MyStol(Str);
145 *FlagDescriptions[F].IntFlag = Val;
147 Printf("Flag: %s %d\n", Name, Val);;
150 unsigned int Val = std::stoul(Str);
151 *FlagDescriptions[F].UIntFlag = Val;
153 Printf("Flag: %s %u\n", Name, Val);
  /external/llvm/lib/IR/
AttributeImpl.h 80 uint64_t Val) {
82 if (Val) ID.AddInteger(Val);
90 static uint64_t getAttrMask(Attribute::AttrKind Val);
117 uint64_t Val;
120 IntAttributeImpl(Attribute::AttrKind Kind, uint64_t Val)
121 : EnumAttributeImpl(IntAttrEntry, Kind), Val(Val) {
129 uint64_t getValue() const { return Val; }
135 std::string Val;
    [all...]
  /external/llvm/lib/MC/
MCFragment.cpp 85 bool ReportError, uint64_t &Val) {
92 Val = Layout.getFragmentOffset(S.getFragment()) + S.getOffset();
97 bool ReportError, uint64_t &Val) {
99 return getLabelOffset(Layout, S, ReportError, Val);
125 Val = Offset;
129 bool MCAsmLayout::getSymbolOffset(const MCSymbol &S, uint64_t &Val) const {
130 return getSymbolOffsetImpl(*this, S, false, Val);
134 uint64_t Val;
135 getSymbolOffsetImpl(*this, S, true, Val);
136 return Val;
    [all...]
  /external/llvm/lib/Target/AArch64/
AArch64TargetTransformInfo.cpp 26 int AArch64TTIImpl::getIntImmCost(int64_t Val) {
28 if (Val == 0 || AArch64_AM::isLogicalImmediate(Val, 64))
31 if (Val < 0)
32 Val = ~Val;
35 unsigned LZ = countLeadingZeros((uint64_t)Val);
57 int64_t Val = Tmp.getSExtValue();
58 Cost += getIntImmCost(Val);
349 int AArch64TTIImpl::getVectorInstrCost(unsigned Opcode, Type *Val,
    [all...]
  /external/llvm/lib/Target/MSP430/
MSP430ISelDAGToDAG.cpp 185 uint64_t Val = cast<ConstantSDNode>(N)->getSExtValue();
186 AM.Disp += Val;
  /external/llvm/lib/Target/NVPTX/
NVPTXUtilities.cpp 55 ConstantInt *Val = mdconst::dyn_extract<ConstantInt>(md->getOperand(i + 1));
56 assert(Val && "Value operand not a constant int");
60 retval[keyname].push_back(Val->getZExtValue());
63 tmp.push_back(Val->getZExtValue());
130 bool llvm::isTexture(const llvm::Value &val) {
131 if (const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) {
143 bool llvm::isSurface(const llvm::Value &val) {
144 if (const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) {
156 bool llvm::isSampler(const llvm::Value &val) {
157 if (const GlobalValue *gv = dyn_cast<GlobalValue>(&val)) {
    [all...]
  /external/llvm/lib/Target/X86/
X86CallFrameOptimization.cpp 481 int64_t Val = PushOp.getImm();
482 if (isInt<8>(Val))
  /external/llvm/utils/TableGen/
DAGISelMatcherEmitter.cpp 120 static unsigned GetVBRSize(unsigned Val) {
121 if (Val <= 127) return 1;
124 while (Val >= 128) {
125 Val >>= 7;
133 static uint64_t EmitVBRValue(uint64_t Val, raw_ostream &OS) {
134 if (Val <= 127) {
135 OS << Val << ", ";
139 uint64_t InVal = Val;
141 while (Val >= 128) {
142 OS << (Val&127) << "|128,"
    [all...]
  /external/spirv-llvm/lib/SPIRV/libSPIRV/
SPIRVUtil.h 90 Ty2 Val;
91 bool Found = find(Key, &Val);
94 return Val;
98 Ty1 Val;
99 bool Found = rfind(Key, &Val);
102 return Val;
135 static bool find(Ty1 Key, Ty2 *Val = nullptr) {
140 if (Val)
141 *Val = Loc->second;
145 static bool rfind(Ty2 Key, Ty1 *Val = nullptr)
    [all...]

Completed in 582 milliseconds

<<11121314151617181920>>