Home
last modified time | relevance | path

Searched refs:ValTy (Results 1 – 25 of 32) sorted by relevance

12

/external/clang/include/clang/Analysis/FlowSensitive/
DDataflowValues.h48 typedef typename ValueTypes::ValTy ValTy; typedef
51 typedef llvm::DenseMap<ProgramPoint, ValTy> EdgeDataMapTy;
52 typedef llvm::DenseMap<const CFGBlock*, ValTy> BlockDataMapTy;
53 typedef llvm::DenseMap<const Stmt*, ValTy> StmtDataMapTy;
87 ValTy& getEdgeData(const BlockEdge &E) { in getEdgeData()
93 const ValTy& getEdgeData(const BlockEdge &E) const { in getEdgeData()
101 ValTy& getBlockData(const CFGBlock *B) { in getBlockData()
107 const ValTy& getBlockData(const CFGBlock *B) const { in getBlockData()
117 ValTy& getStmtData(const Stmt *S) { in getStmtData()
124 const ValTy& getStmtData(const Stmt *S) const { in getStmtData()
/external/llvm/include/llvm/ADT/
DPointerUnion.h84 PointerUnionUIntTraits<PT1,PT2> > ValTy;
86 ValTy Val;
181 V.Val = ValTy::getFromOpaqueValue(VP);
215 PointerLikeTypeTraits<typename PointerUnion<PT1,PT2>::ValTy>
227 typedef PointerUnion<InnerUnion, PT3> ValTy;
229 ValTy Val;
232 ValTy Val;
233 IsInnerUnion(ValTy val) : Val(val) { }
246 ValTy Val;
247 IsPT3(ValTy val) : Val(val) { }
[all …]
DScopedHashTable.h153 typedef ScopedHashTableVal<K, V> ValTy; typedef
154 DenseMap<K, ValTy*, KInfo> TopLevelMap;
180 typename DenseMap<K, ValTy*, KInfo>::iterator I = TopLevelMap.find(Key); in lookup()
196 typename DenseMap<K, ValTy*, KInfo>::iterator I = in begin()
212 KeyEntry = ValTy::Create(S->getLastValInScope(), KeyEntry, Key, Val, in insertIntoScope()
/external/llvm/lib/Target/Mips/
DMipsDSPInstrInfo.td1298 class DSPBinPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1300 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>;
1318 class DSPShiftPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1320 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>;
1336 class DSPSetCCPat<Instruction Cmp, Instruction Pick, ValueType ValTy,
1338 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)),
1339 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)),
1340 (ValTy (COPY_TO_REGCLASS (ADDiu ZERO, -1), DSPR)),
1341 (ValTy ZERO)))>;
1343 class DSPSetCCPatInv<Instruction Cmp, Instruction Pick, ValueType ValTy,
[all …]
DMips16ISelDAGToDAG.cpp164 EVT ValTy = Addr.getValueType(); in selectAddr16() local
166 Alias = CurDAG->getTargetConstant(0, ValTy); in selectAddr16()
170 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr16()
171 Offset = CurDAG->getTargetConstant(0, ValTy); in selectAddr16()
194 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr16()
200 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), ValTy); in selectAddr16()
236 Offset = CurDAG->getTargetConstant(0, ValTy); in selectAddr16()
DMipsSEISelDAGToDAG.cpp256 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex() local
258 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndex()
259 Offset = CurDAG->getTargetConstant(0, ValTy); in selectAddrFrameIndex()
272 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset() local
277 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndexOffset()
281 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), ValTy); in selectAddrFrameIndexOffset()
DMipsISelLowering.cpp648 EVT ValTy = N->getValueType(0); in performANDCombine() local
649 if (SMPos != 0 || Pos + SMSize > ValTy.getSizeInBits()) in performANDCombine()
652 return DAG.getNode(MipsISD::Ext, SDLoc(N), ValTy, in performANDCombine()
702 EVT ValTy = N->getValueType(0); in performORCombine() local
703 if ((Shamt != SMPos0) || (SMPos0 + SMSize0 > ValTy.getSizeInBits())) in performORCombine()
706 return DAG.getNode(MipsISD::Ins, SDLoc(N), ValTy, Shl.getOperand(0), in performORCombine()
730 EVT ValTy = N->getValueType(0); in performADDCombine() local
733 SDValue Add1 = DAG.getNode(ISD::ADD, DL, ValTy, N->getOperand(0), in performADDCombine()
735 return DAG.getNode(ISD::ADD, DL, ValTy, Add1, Lo); in performADDCombine()
2176 EVT ValTy = Op->getValueType(0); in lowerADD() local
[all …]
DMipsInstrInfo.td1538 class LoadRegImmPat<Instruction LoadInst, ValueType ValTy, PatFrag Node> :
1539 MipsPat<(ValTy (Node addrRegImm:$a)), (LoadInst addrRegImm:$a)>;
1541 class StoreRegImmPat<Instruction StoreInst, ValueType ValTy> :
1542 MipsPat<(store ValTy:$v, addrRegImm:$a), (StoreInst ValTy:$v, addrRegImm:$a)>;
/external/llvm/include/llvm/IR/
DCallSite.h40 typename ValTy = const Value,
53 CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase()
60 static CallSiteBase get(ValTy *V) { in get()
85 ValTy *getCalledValue() const { in getCalledValue()
113 ValTy *getArgument(unsigned ArgNo) const { in getArgument()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp120 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
382 unsigned ARMTTI::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
388 ValTy->isVectorTy() && in getVectorInstrCost()
389 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
392 return TargetTransformInfo::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
395 unsigned ARMTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
400 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
413 EVT SelValTy = TLI->getValueType(ValTy); in getCmpSelInstrCost()
422 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy); in getCmpSelInstrCost()
426 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Analysis/
DCostModel.cpp386 Type *ValTy = I->getOperand(0)->getType()->getPointerElementType(); in getInstructionCost() local
387 return TTI->getAddressComputationCost(ValTy); in getInstructionCost()
427 Type *ValTy = I->getOperand(0)->getType(); in getInstructionCost() local
428 return TTI->getCmpSelInstrCost(I->getOpcode(), ValTy); in getInstructionCost()
432 Type *ValTy = SI->getValueOperand()->getType(); in getInstructionCost() local
433 return TTI->getMemoryOpCost(I->getOpcode(), ValTy, in getInstructionCost()
DTargetTransformInfo.cpp195 unsigned TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
197 return PrevTTI->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
584 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost()
/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp111 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
453 unsigned BasicTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
466 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy); in getCmpSelInstrCost()
475 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
476 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
479 unsigned Cost = TopTTI->getCmpSelInstrCost(Opcode, ValTy->getScalarType(), in getCmpSelInstrCost()
484 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp122 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) const
441 unsigned AArch64TTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
446 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
460 EVT SelValTy = TLI->getValueType(ValTy); in getCmpSelInstrCost()
469 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp102 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
342 unsigned PPCTTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
344 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp92 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
682 unsigned X86TTI::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
685 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy); in getCmpSelInstrCost()
736 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
837 unsigned X86TTI::getReductionCost(unsigned Opcode, Type *ValTy, in getReductionCost() argument
840 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(ValTy); in getReductionCost()
914 return TargetTransformInfo::getReductionCost(Opcode, ValTy, IsPairwise); in getReductionCost()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h372 virtual unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
/external/clang/lib/CodeGen/
DCGExprConstant.cpp48 const APValue &Value, QualType ValTy);
513 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); in Finalize() local
514 if (llvm::StructType *ValSTy = dyn_cast<llvm::StructType>(ValTy)) { in Finalize()
541 QualType ValTy) { in BuildStruct() argument
544 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl(); in BuildStruct()
548 return Builder.Finalize(ValTy); in BuildStruct()
DCGAtomic.cpp463 bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy, in AddDirectArgument() argument
467 unsigned Align = CGF.getContext().getTypeAlignInChars(ValTy).getQuantity(); in AddDirectArgument()
468 Val = CGF.EmitLoadOfScalar(Val, false, Align, ValTy, Loc); in AddDirectArgument()
469 Args.add(RValue::get(Val), ValTy); in AddDirectArgument()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp307 Type *ValTy = Val->getType(); in Act() local
311 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp2267 Type *ValTy = EltTy->getScalarType(); in RewriteMemIntrinUserOfAlloca() local
2270 unsigned EltSize = DL->getTypeSizeInBits(ValTy); in RewriteMemIntrinUserOfAlloca()
2281 if (ValTy->isPointerTy()) in RewriteMemIntrinUserOfAlloca()
2282 StoreVal = ConstantExpr::getIntToPtr(StoreVal, ValTy); in RewriteMemIntrinUserOfAlloca()
2283 else if (ValTy->isFloatingPointTy()) in RewriteMemIntrinUserOfAlloca()
2284 StoreVal = ConstantExpr::getBitCast(StoreVal, ValTy); in RewriteMemIntrinUserOfAlloca()
2285 assert(StoreVal->getType() == ValTy && "Type mismatch!"); in RewriteMemIntrinUserOfAlloca()
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1751 Type *ValTy; in createMachineMemOperandFor() local
1761 ValTy = LI->getType(); in createMachineMemOperandFor()
1767 ValTy = SI->getValueOperand()->getType(); in createMachineMemOperandFor()
1778 Alignment = DL.getABITypeAlignment(ValTy); in createMachineMemOperandFor()
1780 unsigned Size = TM.getDataLayout()->getTypeStoreSize(ValTy); in createMachineMemOperandFor()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp952 EVT ValTy = Op.getValueType(); in LowerConstantPool() local
957 Res = DAG.getTargetConstantPool(CP->getMachineCPVal(), ValTy, in LowerConstantPool()
960 Res = DAG.getTargetConstantPool(CP->getConstVal(), ValTy, in LowerConstantPool()
962 return DAG.getNode(HexagonISD::CONST32, dl, ValTy, Res); in LowerConstantPool()
/external/clang/include/clang/AST/
DType.h4598 AtomicType(QualType ValTy, QualType Canonical)
4599 : Type(Atomic, Canonical, ValTy->isDependentType(),
4600 ValTy->isInstantiationDependentType(),
4601 ValTy->isVariablyModifiedType(),
4602 ValTy->containsUnexpandedParameterPack()),
4603 ValueType(ValTy) {}
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp1010 MVT ValTy = VA.getLocVT(); in fixupVariableFloatArgs() local
1013 if (!VA.isRegLoc() || (ValTy != MVT::f64 && ValTy != MVT::f128)) in fixupVariableFloatArgs()
1023 unsigned firstReg = (ValTy == MVT::f64) ? SP::D0 : SP::Q0; in fixupVariableFloatArgs()
1024 unsigned argSize = (ValTy == MVT::f64) ? 8 : 16; in fixupVariableFloatArgs()
1031 if (ValTy == MVT::f64) in fixupVariableFloatArgs()
1036 assert(ValTy == MVT::f128 && "Unexpected type!"); in fixupVariableFloatArgs()

12