/external/llvm/include/llvm/Analysis/ |
H A D | TargetFolder.h | 254 Constant *CreateInsertValue(Constant *Agg, Constant *Val, argument 256 return Fold(ConstantExpr::getInsertValue(Agg, Val, IdxList));
|
/external/llvm/include/llvm/IR/ |
H A D | ConstantFolder.h | 230 Constant *CreateInsertValue(Constant *Agg, Constant *Val, argument 232 return ConstantExpr::getInsertValue(Agg, Val, IdxList);
|
H A D | DataLayout.h | 445 static UIntTy RoundUpAlignment(UIntTy Val, unsigned Alignment) { argument 447 return (Val + (Alignment-1)) & ~UIntTy(Alignment-1);
|
H A D | ValueHandle.h | 248 static unsigned getHashValue(const AssertingVH<T> &Val) { argument 249 return PointerInfo::getHashValue(Val);
|
H A D | Instructions.h | 282 StoreInst(Value *Val, Value *Ptr, Instruction *InsertBefore); 283 StoreInst(Value *Val, Value *Ptr, BasicBlock *InsertAtEnd); 284 StoreInst(Value *Val, Value *Ptr, bool isVolatile = false, 286 StoreInst(Value *Val, Value *Ptr, bool isVolatile, BasicBlock *InsertAtEnd); 287 StoreInst(Value *Val, Value *Ptr, bool isVolatile, 289 StoreInst(Value *Val, Value *Ptr, bool isVolatile, 291 StoreInst(Value *Val, Value *Ptr, bool isVolatile, 295 StoreInst(Value *Val, Value *Ptr, bool isVolatile, 664 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, 667 AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, 1973 Create(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr = �, Instruction *InsertBefore = nullptr) argument 1979 Create(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) argument 2039 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, Instruction *InsertBefore) argument 2049 InsertValueInst(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &NameStr, BasicBlock *InsertAtEnd) argument [all...] |
/external/llvm/lib/Target/R600/ |
H A D | R600ExpandSpecialInstrs.cpp | 62 uint64_t Val = OldMI->getOperand(OpIdx).getImm(); local 63 TII->setImmOperand(NewMI, Op, Val);
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorize.cpp | 352 virtual Value *getConsecutiveVector(Value* Val, int StartIdx, bool Negate); 377 /// save value in 'Val'. 379 VectorParts &splat(Value *Key, Value *Val) { argument 381 Entry.assign(UF, Val); 471 Value *getConsecutiveVector(Value* Val, int StartIdx, bool Negate) override; 1056 unsigned Val = C->getZExtValue(); local 1059 if (isPowerOf2_32(Val) && Val <= MaxVectorWidth) 1060 Width = Val; 1064 if (isPowerOf2_32(Val) 1437 getConsecutiveVector(Value* Val, int StartIdx, bool Negate) argument 2704 VectorParts &Val = getVectorValue(LoopVal); local [all...] |
/external/llvm/utils/TableGen/ |
H A D | RegisterInfoEmitter.cpp | 575 uint16_t Val = uint16_t(InitVal); local 578 V.push_back(Cur - Val); 579 Val = Cur; 588 uint16_t Val = uint16_t(InitVal); local 591 V.push_back(Cur - Val); 592 Val = Cur; 597 static void printDiff16(raw_ostream &OS, uint16_t Val) { argument 598 OS << Val; local
|
H A D | CodeGenDAGPatterns.h | 312 /// Val - The init value (e.g. the "GPRC" record, or "7") for a leaf. 314 Init *Val; 332 : Operator(Op), Val(nullptr), TransformFn(nullptr), Children(Ch) { 336 : Operator(nullptr), Val(val), TransformFn(nullptr) { 345 bool isLeaf() const { return Val != nullptr; } 367 Init *getLeafValue() const { assert(isLeaf()); return Val; }
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 838 Optional<const ObjCMethodDecl *> &Val = PMC[std::make_pair(IDecl, Sel)]; local 841 if (!Val.hasValue()) { 842 Val = IDecl->lookupPrivateMethod(Sel); 846 if (!*Val) 849 Val = IDecl->lookupInstanceMethod(Sel); 852 const ObjCMethodDecl *MD = Val.getValue();
|
H A D | SimpleSValBuilder.cpp | 62 SVal SimpleSValBuilder::dispatchCast(SVal Val, QualType CastTy) { argument 63 assert(Val.getAs<Loc>() || Val.getAs<NonLoc>()); 64 return Val.getAs<Loc>() ? evalCastFromLoc(Val.castAs<Loc>(), CastTy) 65 : evalCastFromNonLoc(Val.castAs<NonLoc>(), CastTy);
|
H A D | ExprEngine.cpp | 1910 SVal Loc, SVal Val) { 1925 if (StoredVal != Val) 1926 escapes = (State == (State->bindLoc(*regionLoc, Val))); 1939 State->scanReachableSymbols<CollectReachableSymbolsCallback>(Val); 2002 SVal location, SVal Val, 2012 getCheckerManager().runCheckersForBind(CheckedSet, Pred, location, Val, 2024 state = processPointerEscapedOnBind(state, location, Val); 2035 state = processPointerEscapedOnBind(state, location, Val); 2041 Val, /* notifyChanges = */ !atDeclInit); 2061 /// @param Val Th 1909 processPointerEscapedOnBind(ProgramStateRef State, SVal Loc, SVal Val) argument 2000 evalBind(ExplodedNodeSet &Dst, const Stmt *StoreE, ExplodedNode *Pred, SVal location, SVal Val, bool atDeclInit, const ProgramPoint *PP) argument 2062 evalStore(ExplodedNodeSet &Dst, const Expr *AssignE, const Expr *LocationE, ExplodedNode *Pred, ProgramStateRef state, SVal location, SVal Val, const ProgramPointTag *tag) argument 2235 SVal Val = svalBuilder.makeIntVal(1U, Ex->getType()); local 2242 SVal Val = svalBuilder.makeIntVal(0U, Ex->getType()); local [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Execution.cpp | 41 static void SetValue(Value *V, GenericValue Val, ExecutionContext &SF) { argument 42 SF.Values[V] = Val; 51 Dest.TY##Val = Src1.TY##Val OP Src2.TY##Val; \ 305 Dest.IntVal = APInt(1,Src1.TY##Val OP Src2.TY##Val); \ 313 Src1.AggregateVal[_i].TY##Val OP Src2.AggregateVal[_i].TY##Val);\ 355 if (X.AggregateVal[_i].TZ##Val ! [all...] |
/external/llvm/lib/IR/ |
H A D | ConstantsContext.h | 198 InsertValueConstantExpr(Constant *Agg, Constant *Val, argument 204 Op<1>() = Val; 668 static unsigned getHashValue(const LookupKey &Val) { argument 669 return hash_combine(Val.first, hash_combine_range(Val.second.begin(), 670 Val.second.end()));
|
H A D | Instructions.cpp | 251 void LandingPadInst::addClause(Constant *Val) { argument 256 OperandList[OpNo] = Val; 1085 && "Ptr must be a pointer to Val type!"); 1279 void AtomicRMWInst::Init(BinOp Operation, Value *Ptr, Value *Val, argument 1283 Op<1>() = Val; 1294 && "Ptr must be a pointer to Val type!"); 1299 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, argument 1303 : Instruction(Val->getType(), AtomicRMW, 1307 Init(Operation, Ptr, Val, Ordering, SynchScope); 1310 AtomicRMWInst::AtomicRMWInst(BinOp Operation, Value *Ptr, Value *Val, argument 1453 ExtractElementInst(Value *Val, Value *Index, const Twine &Name, Instruction *InsertBef) argument 1467 ExtractElementInst(Value *Val, Value *Index, const Twine &Name, BasicBlock *InsertAE) argument 1483 isValidOperands(const Value *Val, const Value *Index) argument 1660 init(Value *Agg, Value *Val, ArrayRef<unsigned> Idxs, const Twine &Name) argument [all...] |
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.cpp | 850 static bool isConstantOrUndef(int Op, int Val) { argument 851 return Op < 0 || Op == Val; 1112 int Val = cast<ConstantSDNode>(UniquedVals[Multiple-1])->getZExtValue(); local 1113 if (Val < 16) 1114 return DAG.getTargetConstant(Val, MVT::i32); // 0,0,0,4 -> vspltisw(4) 1119 int Val =cast<ConstantSDNode>(UniquedVals[Multiple-1])->getSExtValue(); local 1120 if (Val >= -16) // -1,-1,-1,-2 -> vspltisw(-2) 1121 return DAG.getTargetConstant(Val, MVT::i32); 1444 SDValue Val = cast<StoreSDNode>(N)->getValue(); local 1445 if (Val 2378 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 2397 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, MVT::f64); local 2534 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 2574 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 2689 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 2862 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 2887 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 3055 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT); local 3534 SDValue Val = DAG.getCopyFromReg(Chain, dl, local 4329 SDValue Val = DAG.getCopyFromReg(Chain, dl, PPC::X2, MVT::i64); local 5430 BuildSplatI(int Val, unsigned SplatSize, EVT VT, SelectionDAG &DAG, SDLoc dl) argument 8033 SDValue Val = N->getOperand(0).getOperand(0); local 8063 SDValue Val = N->getOperand(1).getOperand(0); local 8415 unsigned Val = cast<ConstantSDNode>(RHS)->getZExtValue(); local 8439 unsigned Val = cast<ConstantSDNode>(RHS)->getZExtValue(); local [all...] |
/external/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 286 uint64_t Val = CI->getZExtValue(); 293 CurPtr[i] = (unsigned char)(Val >> (n * 8)); 1376 static Constant *ConstantFoldConvertToInt(const APFloat &Val, argument 1387 APFloat::opStatus status = Val.convertToInteger(&UIntVal, ResultWidth, 1416 APFloat Val(Op->getValueAPF()); 1419 Val.convert(APFloat::IEEEhalf, APFloat::rmNearestTiesToEven, &lost); 1421 return ConstantInt::get(Ty->getContext(), Val.bitcastToAPInt()); 1557 APFloat Val(APFloat::IEEEhalf, Op->getValue()); 1561 Val.convert(APFloat::IEEEsingle, APFloat::rmNearestTiesToEven, &lost); 1568 return ConstantFP::get(Ty->getContext(), Val); [all...] |
H A D | ValueTracking.cpp | 1293 // Return # leading zeros. We use 'min' here in case Val was zero before 1503 APInt Val = CI->getValue(); local 1505 while (Val.getBitWidth() != 8) { 1506 unsigned NextWidth = Val.getBitWidth()/2; 1507 Val2 = Val.lshr(NextWidth); 1508 Val2 = Val2.trunc(Val.getBitWidth()/2); 1509 Val = Val.trunc(Val.getBitWidth()/2); 1512 if (Val ! 1523 Value *Val = isBytewiseValue(Elt); local [all...] |
/external/llvm/examples/Kaleidoscope/MCJIT/cached/ |
H A D | toy.cpp | 142 double Val; member in class:NumberExprAST 144 NumberExprAST(double val) : Val(val) {} 1014 return ConstantFP::get(getGlobalContext(), APFloat(Val)); 1047 Value *Val = RHS->Codegen(); 1048 if (Val == 0) return 0; 1054 Builder.CreateStore(Val, Variable); 1055 return Val;
|
/external/llvm/examples/Kaleidoscope/MCJIT/complete/ |
H A D | toy.cpp | 166 double Val; member in class:NumberExprAST 168 NumberExprAST(double val) : Val(val) {} 1181 return ConstantFP::get(getGlobalContext(), APFloat(Val)); 1218 Value *Val = RHS->Codegen(); 1219 if (Val == 0) return 0; 1225 Builder.CreateStore(Val, Variable); 1226 return Val;
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMAsmPrinter.cpp | 1118 Offset = -cast<ConstantInt>(CPE.Val.ConstVal)->getSExtValue(); 1455 EmitMachineConstantPoolValue(MCPE.Val.MachineCPVal); 1457 EmitGlobalConstant(MCPE.Val.ConstVal); 1575 uint32_t Val = 0xe7ffdefeUL; local 1577 OutStreamer.EmitIntValue(Val, 4); 1584 uint32_t Val = 0xe7fedef0UL; local 1586 OutStreamer.EmitIntValue(Val, 4); 1594 uint16_t Val = 0xdefe; local 1596 OutStreamer.EmitIntValue(Val, 2);
|
H A D | ARMCodeEmitter.cpp | 166 unsigned NEONThumb2DataIPostEncoder(const MachineInstr &MI, unsigned Val) 168 unsigned NEONThumb2LoadStorePostEncoder(const MachineInstr &MI,unsigned Val) 170 unsigned NEONThumb2DupPostEncoder(const MachineInstr &MI,unsigned Val) 172 unsigned NEONThumb2V8PostEncoder(const MachineInstr &MI,unsigned Val) 174 unsigned VFPThumb2PostEncoder(const MachineInstr&MI, unsigned Val) 634 static_cast<ARMConstantPoolValue*>(MCPE.Val.MachineCPVal); 653 const Constant *CV = MCPE.Val.ConstVal; 669 uint32_t Val = uint32_t(*CI->getValue().getRawData()); local 670 emitWordLE(Val);
|
/external/llvm/lib/Target/Mips/ |
H A D | MipsAsmPrinter.cpp | 168 EmitMachineConstantPoolValue(MCPE.Val.MachineCPVal); 170 EmitGlobalConstant(MCPE.Val.ConstVal); 474 int64_t Val = MO.getImm(); 475 if (Val) 476 O << Val; local
|
/external/llvm/lib/Target/Sparc/AsmParser/ |
H A D | SparcAsmParser.cpp | 163 const MCExpr *Val; member in struct:__anon26131::SparcOperand::ImmOp 210 return Imm.Val; 309 static std::unique_ptr<SparcOperand> CreateImm(const MCExpr *Val, SMLoc S, argument 312 Op->Imm.Val = Val;
|
/external/llvm/unittests/Support/ |
H A D | Path.cpp | 588 StringRef Val("hello there"); 597 std::copy(Val.begin(), Val.end(), mfr.data()); 599 mfr.data()[Val.size()] = 0; 612 EXPECT_EQ(StringRef(mfr.const_data()), Val); local
|