/external/llvm/include/llvm/Support/ |
H A D | ConstantRange.h | 102 bool contains(const APInt &Val) const;
|
/external/llvm/lib/Bitcode/Reader/ |
H A D | BitcodeReader.cpp | 74 static GlobalValue::LinkageTypes GetDecodedLinkage(unsigned Val) { argument 75 switch (Val) { 96 static GlobalValue::VisibilityTypes GetDecodedVisibility(unsigned Val) { argument 97 switch (Val) { 105 static GlobalVariable::ThreadLocalMode GetDecodedThreadLocalMode(unsigned Val) { argument 106 switch (Val) { 116 static int GetDecodedCastOpcode(unsigned Val) { argument 117 switch (Val) { 133 static int GetDecodedBinaryOpcode(unsigned Val, Type *Ty) { argument 134 switch (Val) { 157 GetDecodedRMWOperation(unsigned Val) argument 174 GetDecodedOrdering(unsigned Val) argument 187 GetDecodedSynchScope(unsigned Val) argument 2410 Value *Val = 0; local 2458 Value *Val; local 2527 Value *Val, *Ptr; local 2541 Value *Val, *Ptr; local 2584 Value *Ptr, *Val; local [all...] |
/external/llvm/utils/obj2yaml/ |
H A D | coff2yaml.cpp | 222 const pod_pair<T, const char *> (&Arr)[N], unsigned long Val) { 224 if (Val & Arr[i].first) 234 unsigned long Val, const char *NotFound = NULL) { variable 235 T n = static_cast<T>(Val); 221 writeBitMask(llvm::raw_ostream &Out, const pod_pair<T, const char *> (&Arr)[N], unsigned long Val) argument
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 563 static bool isConstantOrUndef(int Op, int Val) { argument 564 return Op < 0 || Op == Val; 778 int Val = cast<ConstantSDNode>(UniquedVals[Multiple-1])->getZExtValue(); local 779 if (Val < 16) 780 return DAG.getTargetConstant(Val, MVT::i32); // 0,0,0,4 -> vspltisw(4) 785 int Val =cast<ConstantSDNode>(UniquedVals[Multiple-1])->getSExtValue(); local 786 if (Val >= -16) // -1,-1,-1,-2 -> vspltisw(-2) 787 return DAG.getTargetConstant(Val, MVT::i32); 1909 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 1910 SDValue Store = DAG.getStore(Val 1928 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, MVT::f64); local 2095 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 2120 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 2294 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 3519 SDValue Val = DAG.getCopyFromReg(Chain, dl, PPC::X2, MVT::i64); local 4023 BuildSplatI(int Val, unsigned SplatSize, EVT VT, SelectionDAG &DAG, DebugLoc dl) argument 5396 SDValue Val = N->getOperand(0).getOperand(0); local 5426 SDValue Val = N->getOperand(1).getOperand(0); local 5566 unsigned Val = cast<ConstantSDNode>(RHS)->getZExtValue(); local [all...] |
/external/llvm/lib/Transforms/Scalar/ |
H A D | ScalarReplAggregates.cpp | 661 unsigned Val = cast<ConstantInt>(MSI->getValue())->getZExtValue(); local 664 APInt APVal(NumBytes*8, Val); 667 if (Val) 1941 Value *Val = SI->getOperand(0); local 1942 Type *SIType = Val->getType(); 1954 Value *Extract = Builder.CreateExtractValue(Val, i, Val->getName()); 2004 Instruction *Val = NewElts[Idx]; local 2005 if (Val->getType() != BC->getDestTy()) { 2006 Val 2096 Instruction *Val = NewElts[Idx]; local [all...] |
H A D | SCCP.cpp | 75 /// Val: This stores the current lattice value along with the Constant* for 77 PointerIntPair<Constant *, 2, LatticeValueTy> Val; member in class:__anon9137::LatticeVal 80 return Val.getInt(); 84 LatticeVal() : Val(0, undefined) {} 94 return Val.getPointer(); 102 Val.setInt(overdefined); 114 Val.setInt(constant); 116 Val.setPointer(V); 126 Val.setInt(overdefined); 141 Val 808 Value *Val = IVI.getInsertedValueOperand(); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | MemoryDependenceAnalysis.cpp | 99 /// RemoveFromReverseMap - This is a helper function that removes Val from 104 Instruction *Inst, KeyTy Val) { 108 bool Found = InstIt->second.erase(Val); 855 NonLocalDepEntry Val = Cache.back(); local 858 std::upper_bound(Cache.begin(), Cache.end()-1, Val); 859 Cache.insert(Entry, Val); 865 NonLocalDepEntry Val = Cache.back(); local 868 std::upper_bound(Cache.begin(), Cache.end(), Val); 869 Cache.insert(Entry, Val); 1463 const NonLocalDepInfo &Val local 102 RemoveFromReverseMap(DenseMap<Instruction*, SmallPtrSet<KeyTy, 4> > &ReverseMap, Instruction *Inst, KeyTy Val) argument [all...] |
H A D | ValueTracking.cpp | 1168 // Return # leading zeros. We use 'min' here in case Val was zero before 1373 APInt Val = CI->getValue(); local 1375 while (Val.getBitWidth() != 8) { 1376 unsigned NextWidth = Val.getBitWidth()/2; 1377 Val2 = Val.lshr(NextWidth); 1378 Val2 = Val2.trunc(Val.getBitWidth()/2); 1379 Val = Val.trunc(Val.getBitWidth()/2); 1382 if (Val ! 1393 Value *Val = isBytewiseValue(Elt); local [all...] |
/external/llvm/lib/Object/ |
H A D | MachOObjectFile.cpp | 896 error_code advance(T &it, size_t Val) { argument 898 while (Val--) { 905 void advanceTo(T &it, size_t Val) { argument 906 if (error_code ec = advance(it, Val)) 922 uint32_t Val = RE->Word1; local 934 if (Addr != Val) continue; 952 if (Addr != Val) continue; 959 fmt << format("0x%x", Val); 965 uint32_t Val = RE->Word1 & 0xFFFFFF; local 969 advanceTo(SI, Val); [all...] |
/external/llvm/lib/Support/ |
H A D | CommandLine.cpp | 242 StringRef Val(Value); 243 StringRef::size_type Pos = Val.find(','); 247 if (Handler->addOccurrence(pos, ArgName, Val.substr(0, Pos), MultiArg)) 250 Val = Val.substr(Pos+1); 253 Pos = Val.find(','); 256 Value = Val; 1029 StringRef Arg, double &Val) { 1030 return parseDouble(O, Arg, Val); 1034 StringRef Arg, float &Val) { 1028 parse(Option &O, StringRef ArgName, StringRef Arg, double &Val) argument 1033 parse(Option &O, StringRef ArgName, StringRef Arg, float &Val) argument [all...] |
H A D | APFloat.cpp | 2178 APFloat::convertFromAPInt(const APInt &Val, 2182 unsigned int partCount = Val.getNumWords(); 2183 APInt api = Val; 3260 APFloat Val(Sem, fcNormal, Negative); 3267 Val.exponent = Sem.maxExponent; // unbiased 3270 Val.zeroSignificand(); 3271 integerPart *significand = Val.significandParts(); 3281 return Val; 3285 APFloat Val(Sem, fcNormal, Negative); 3292 Val [all...] |
/external/llvm/lib/VMCore/ |
H A D | ConstantFold.cpp | 573 APFloat Val = FPC->getValueAPF(); local 574 Val.convert(DestTy->isHalfTy() ? APFloat::IEEEhalf : 581 return ConstantFP::get(V->getContext(), Val); 593 APInt Val(DestBitWidth, x); 594 return ConstantInt::get(FPC->getContext(), Val); 738 Constant *llvm::ConstantFoldExtractElementInstruction(Constant *Val, argument 740 if (isa<UndefValue>(Val)) // ee(undef, x) -> undef 741 return UndefValue::get(Val->getType()->getVectorElementType()); 742 if (Val->isNullValue()) // ee(zero, x) -> zero 743 return Constant::getNullValue(Val 758 ConstantFoldInsertElementInstruction(Constant *Val, Constant *Elt, Constant *Idx) argument 834 ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val, ArrayRef<unsigned> Idxs) argument [all...] |
H A D | IRBuilder.cpp | 64 CreateMemSet(Value *Ptr, Value *Val, Value *Size, unsigned Align, argument 67 Value *Ops[] = { Ptr, Val, Size, getInt32(Align), getInt1(isVolatile) };
|
/external/clang/test/Analysis/ |
H A D | misc-ps-region-store.cpp | 359 float Val = (float)dVal; // no-warning local 360 return Val;
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
H A D | toy.cpp | 86 double Val; member in class:NumberExprAST 88 NumberExprAST(double val) : Val(val) {}
|
/external/llvm/include/llvm/ADT/ |
H A D | EquivalenceClasses.h | 107 bool operator<(const T &Val) const { return Data < Val; }
|
/external/llvm/include/llvm/CodeGen/ |
H A D | AsmPrinter.h | 377 void EmitCFAByte(unsigned Val) const; 383 void EmitEncodingByte(unsigned Val, const char *Desc = 0) const;
|
/external/llvm/include/llvm/ |
H A D | GlobalValue.h | 85 void setUnnamedAddr(bool Val) { UnnamedAddr = Val; } argument
|
/external/llvm/lib/AsmParser/ |
H A D | LLLexer.cpp | 297 uint64_t Val = atoull(TokStart+1, CurPtr); local 298 if ((unsigned)Val != Val) 300 UIntVal = unsigned(Val); 361 uint64_t Val = atoull(TokStart+1, CurPtr); local 362 if ((unsigned)Val != Val) 364 UIntVal = unsigned(Val);
|
/external/llvm/lib/TableGen/ |
H A D | TGParser.h | 119 IterRecord(VarInit *Var, Init *Val) : IterVar(Var), IterValue(Val) {} argument
|
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 574 Value *Val = SI.getOperand(0); local 580 getOrEnforceKnownAlignment(Ptr, TD->getPrefTypeAlignment(Val->getType()), 584 TD->getABITypeAlignment(Val->getType()); 640 if (LI == Val && equivalentAddressValues(LI->getOperand(0), Ptr) && 656 if (!isa<UndefValue>(Val)) { 657 SI.setOperand(0, UndefValue::get(Val->getType())); 658 if (Instruction *U = dyn_cast<Instruction>(Val)) 665 if (isa<UndefValue>(Val))
|
/external/llvm/utils/yaml-bench/ |
H A D | YAMLBench.cpp | 78 StringRef Val = sn->getValue(Storage); local 79 outs() << "!!str \"" << yaml::escape(Val) << "\"";
|
/external/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 427 Value *Val = MFE.Val; local 430 VersionVal = cast<ConstantInt>(Val)->getZExtValue(); 434 ImageInfoFlags |= cast<ConstantInt>(Val)->getZExtValue(); 436 SectionVal = cast<MDString>(Val)->getString();
|
/external/llvm/utils/TableGen/ |
H A D | CodeGenDAGPatterns.h | 308 /// Val - The init value (e.g. the "GPRC" record, or "7") for a leaf. 310 Init *Val; 328 : Operator(Op), Val(0), TransformFn(0), Children(Ch) { 332 : Operator(0), Val(val), TransformFn(0) { 340 bool isLeaf() const { return Val != 0; } 362 Init *getLeafValue() const { assert(isLeaf()); return Val; }
|
/external/clang/lib/CodeGen/ |
H A D | CGExpr.cpp | 899 llvm::Constant *C = CGM.EmitConstantValue(result.Val, resultType, this); 1198 llvm::Value *Val = Load; local 1200 Val = Builder.CreateLShr(Load, AI.FieldBitStart); 1201 Val = Builder.CreateAnd(Val, llvm::APInt::getLowBitsSet(AI.AccessWidth, 1207 Val = Builder.CreateZExt(Val, ResLTy); 1209 Val = Builder.CreateTrunc(Val, ResLTy); 1213 Val 1424 llvm::Value *Val = SrcVal; local 3333 SetFPAccuracy(llvm::Value *Val, float Accuracy) argument [all...] |