Home
last modified time | relevance | path

Searched refs:CondTy (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp104 Type *CondTy) const;
362 Type *CondTy) const { in getCmpSelInstrCost()
369 assert(CondTy && "CondTy must exist"); in getCmpSelInstrCost()
370 if (CondTy->isVectorTy()) in getCmpSelInstrCost()
385 if (CondTy) in getCmpSelInstrCost()
386 CondTy = CondTy->getScalarType(); in getCmpSelInstrCost()
388 CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Target/PowerPC/
DPPCTargetTransformInfo.cpp97 Type *CondTy) const;
193 Type *CondTy) const { in getCmpSelInstrCost()
194 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Analysis/
DCostModel.cpp150 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local
151 return TTI->getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy); in getInstructionCost()
DTargetTransformInfo.cpp186 Type *CondTy) const { in getCmpSelInstrCost()
187 return PrevTTI->getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
544 Type *CondTy = 0) const { in getCmpSelInstrCost()
/external/llvm/lib/Target/ARM/
DARMTargetTransformInfo.cpp123 unsigned getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) const;
397 Type *CondTy) const { in getCmpSelInstrCost()
412 EVT SelCondTy = TLI->getValueType(CondTy); in getCmpSelInstrCost()
427 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h324 Type *CondTy = 0) const;
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp567 Type *CondTy = Type::getInt1Ty(Context); in Act() local
573 CondTy = VectorType::get(CondTy, NumElem); in Act()
576 Value *Cond = getRandomValue(CondTy); in Act()
/external/llvm/lib/Target/X86/
DX86TargetTransformInfo.cpp96 Type *CondTy) const;
460 Type *CondTy) const { in getCmpSelInstrCost()
516 return TargetTransformInfo::getCmpSelInstrCost(Opcode, ValTy, CondTy); in getCmpSelInstrCost()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp135 Type *CondTy = SI.getCondition()->getType(); in FoldSelectOpOp() local
136 if (CondTy->isVectorTy() && (!FIOpndTy->isVectorTy() || in FoldSelectOpOp()
137 CondTy->getVectorNumElements() != FIOpndTy->getVectorNumElements())) in FoldSelectOpOp()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp4536 Type *CondTy = SI->getCondition()->getType(); in getInstructionCost() local
4538 CondTy = VectorType::get(CondTy, VF); in getInstructionCost()
4540 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy, CondTy); in getInstructionCost()
/external/clang/lib/Sema/
DSemaExpr.cpp5203 QualType CondTy = Cond->getType(); in checkCondition() local
5206 if (CondTy->isScalarType()) return false; in checkCondition()
5209 if (S.getLangOpts().OpenCL && CondTy->isVectorType()) in checkCondition()
5216 << CondTy; in checkCondition()
5224 QualType CondTy) { in checkConditionalConvertScalarsToVectors() argument
5228 << CondTy; in checkConditionalConvertScalarsToVectors()
5233 << CondTy; in checkConditionalConvertScalarsToVectors()
5238 LHS = S.ImpCastExprToType(LHS.take(), CondTy, CK_IntegralCast); in checkConditionalConvertScalarsToVectors()
5239 RHS = S.ImpCastExprToType(RHS.take(), CondTy, CK_IntegralCast); in checkConditionalConvertScalarsToVectors()
5459 QualType CondTy = Cond.get()->getType(); in CheckConditionalOperands() local
[all …]