Home
last modified time | relevance | path

Searched refs:ValTy (Results 1 – 25 of 41) 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);
221 PointerLikeTypeTraits<typename PointerUnion<PT1,PT2>::ValTy>
233 typedef PointerUnion<InnerUnion, PT3> ValTy;
235 ValTy Val;
238 ValTy Val;
239 IsInnerUnion(ValTy val) : Val(val) { }
252 ValTy Val;
253 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.td1327 class DSPBinPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1329 DSPPat<(Node ValTy:$a, ValTy:$b), (Inst ValTy:$a, ValTy:$b), Pred>;
1347 class DSPShiftPat<Instruction Inst, ValueType ValTy, SDPatternOperator Node,
1349 DSPPat<(Node ValTy:$a, Imm:$shamt), (Inst ValTy:$a, Imm:$shamt), Pred>;
1365 class DSPSetCCPat<Instruction Cmp, Instruction Pick, ValueType ValTy,
1367 DSPPat<(ValTy (MipsSETCC_DSP ValTy:$a, ValTy:$b, CC)),
1368 (ValTy (Pick (ValTy (Cmp ValTy:$a, ValTy:$b)),
1369 (ValTy (COPY_TO_REGCLASS (ADDiu ZERO, -1), DSPR)),
1370 (ValTy ZERO)))>;
1372 class DSPSetCCPatInv<Instruction Cmp, Instruction Pick, ValueType ValTy,
[all …]
DMips16ISelDAGToDAG.cpp167 EVT ValTy = Addr.getValueType(); in selectAddr16() local
169 Alias = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr16()
173 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr16()
174 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr16()
197 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddr16()
203 Offset = CurDAG->getTargetConstant(CN->getZExtValue(), DL, ValTy); in selectAddr16()
239 Offset = CurDAG->getTargetConstant(0, DL, ValTy); in selectAddr16()
DMipsSEISelDAGToDAG.cpp282 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndex() local
284 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndex()
285 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), ValTy); in selectAddrFrameIndex()
298 EVT ValTy = Addr.getValueType(); in selectAddrFrameIndexOffset() local
303 Base = CurDAG->getTargetFrameIndex(FIN->getIndex(), ValTy); in selectAddrFrameIndexOffset()
308 ValTy); in selectAddrFrameIndexOffset()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp243 int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
249 ValTy->isVectorTy() && in getVectorInstrCost()
250 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
257 if (ValTy->getVectorElementType()->isIntegerTy()) in getVectorInstrCost()
262 if (ValTy->isVectorTy() && in getVectorInstrCost()
263 ValTy->getScalarSizeInBits() <= 32) in getVectorInstrCost()
264 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U); in getVectorInstrCost()
267 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
270 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
274 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
[all …]
DARMTargetTransformInfo.h101 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/external/llvm/include/llvm/IR/
DCallSite.h42 typename ValTy = const Value,
56 explicit CallSiteBase(ValTy *II) { *this = get(II); } in CallSiteBase()
64 static CallSiteBase get(ValTy *V) { in get()
93 ValTy *getCalledValue() const { in getCalledValue()
121 ValTy *getArgument(unsigned ArgNo) const { in getArgument()
221 ValTy *getArgOperand(unsigned i) const { in getArgOperand()
/external/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp95 int AMDGPUTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy, in getVectorInstrCost() argument
102 return BaseT::getVectorInstrCost(Opcode, ValTy, Index); in getVectorInstrCost()
DAMDGPUTargetTransformInfo.h66 int getVectorInstrCost(unsigned Opcode, Type *ValTy, unsigned Index);
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h436 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
447 std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
449 if (!(ValTy->isVectorTy() && !LT.second.isVector()) && in getCmpSelInstrCost()
457 if (ValTy->isVectorTy()) { in getCmpSelInstrCost()
458 unsigned Num = ValTy->getVectorNumElements(); in getCmpSelInstrCost()
462 Opcode, ValTy->getScalarType(), CondTy); in getCmpSelInstrCost()
467 return getScalarizationOverhead(ValTy, true, false) + Num * Cost; in getCmpSelInstrCost()
DDIE.h312 DIEBlock *, DIELoc *, DIELocList> ValTy; typedef
313 static_assert(sizeof(ValTy) <= sizeof(uint64_t) ||
314 sizeof(ValTy) <= sizeof(void *),
318 ValTy Val;
/external/llvm/lib/Analysis/
DCostModel.cpp423 Type *ValTy = I->getOperand(0)->getType(); in getInstructionCost() local
424 return TTI->getCmpSelInstrCost(I->getOpcode(), ValTy); in getInstructionCost()
428 Type *ValTy = SI->getValueOperand()->getType(); in getInstructionCost() local
429 return TTI->getMemoryOpCost(I->getOpcode(), ValTy, in getInstructionCost()
DTargetTransformInfo.cpp252 int TargetTransformInfo::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
254 int Cost = TTIImpl->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp380 int AArch64TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, in getCmpSelInstrCost() argument
386 if (ValTy->isVectorTy() && ISD == ISD::SELECT) { in getCmpSelInstrCost()
400 EVT SelValTy = TLI->getValueType(DL, ValTy); in getCmpSelInstrCost()
408 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
DAArch64TargetTransformInfo.h113 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/external/clang/lib/CodeGen/
DCGAtomic.cpp650 bool UseOptimizedLibcall, llvm::Value *Val, QualType ValTy, in AddDirectArgument() argument
654 CharUnits Align = CGF.getContext().getTypeAlignInChars(ValTy); in AddDirectArgument()
656 ValTy = in AddDirectArgument()
662 CGF.getContext().getPointerType(ValTy), in AddDirectArgument()
665 Args.add(RValue::get(Val), ValTy); in AddDirectArgument()
1219 auto *ValTy = AsValue in ConvertIntToValueOrAtomic() local
1222 if (ValTy->isIntegerTy()) { in ConvertIntToValueOrAtomic()
1223 assert(IntVal->getType() == ValTy && "Different integer types."); in ConvertIntToValueOrAtomic()
1225 } else if (ValTy->isPointerTy()) in ConvertIntToValueOrAtomic()
1226 return RValue::get(CGF.Builder.CreateIntToPtr(IntVal, ValTy)); in ConvertIntToValueOrAtomic()
[all …]
DCGExprConstant.cpp53 const APValue &Value, QualType ValTy);
541 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); in Finalize() local
542 if (llvm::StructType *ValSTy = dyn_cast<llvm::StructType>(ValTy)) { in Finalize()
580 QualType ValTy) { in BuildStruct() argument
583 const RecordDecl *RD = ValTy->castAs<RecordType>()->getDecl(); in BuildStruct()
587 return Builder.Finalize(ValTy); in BuildStruct()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h446 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
608 virtual int getCmpSelInstrCost(unsigned Opcode, Type *ValTy,
780 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) override { in getCmpSelInstrCost() argument
781 return Impl.getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp290 int PPCTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
291 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
DPPCTargetTransformInfo.h82 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.h73 int getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy);
DX86TargetTransformInfo.cpp853 int X86TTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) { in getCmpSelInstrCost() argument
855 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getCmpSelInstrCost()
911 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
1059 int X86TTIImpl::getReductionCost(unsigned Opcode, Type *ValTy, in getReductionCost() argument
1062 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy); in getReductionCost()
1128 return BaseT::getReductionCost(Opcode, ValTy, IsPairwise); in getReductionCost()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp315 Type *ValTy = Val->getType(); in Act() local
319 if (ValTy->isVectorTy() && ValTy->getScalarSizeInBits() == 1) in Act()

12