reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1145 switch (I->getOpcode()) { 1147 return getUserCost(I); 1152 return getCFInstrCost(I->getOpcode()); 1174 Op1VK = getOperandInfo(I->getOperand(0), Op1VP); 1175 Op2VK = getOperandInfo(I->getOperand(1), Op2VP); 1176 SmallVector<const Value *, 2> Operands(I->operand_values()); 1177 return getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, Op2VK, 1177 return getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, Op2VK, 1183 Op1VK = getOperandInfo(I->getOperand(0), Op1VP); 1186 SmallVector<const Value *, 2> Operands(I->operand_values()); 1187 return getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, Op2VK, 1187 return getArithmeticInstrCost(I->getOpcode(), I->getType(), Op1VK, Op2VK, 1191 const SelectInst *SI = cast<SelectInst>(I); 1193 return getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy, I); 1193 return getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy, I); 1193 return getCmpSelInstrCost(I->getOpcode(), I->getType(), CondTy, I); 1197 Type *ValTy = I->getOperand(0)->getType(); 1198 return getCmpSelInstrCost(I->getOpcode(), ValTy, I->getType(), I); 1198 return getCmpSelInstrCost(I->getOpcode(), ValTy, I->getType(), I); 1198 return getCmpSelInstrCost(I->getOpcode(), ValTy, I->getType(), I); 1201 const StoreInst *SI = cast<StoreInst>(I); 1203 return getMemoryOpCost(I->getOpcode(), ValTy, 1205 SI->getPointerAddressSpace(), I); 1208 const LoadInst *LI = cast<LoadInst>(I); 1209 return getMemoryOpCost(I->getOpcode(), I->getType(), 1209 return getMemoryOpCost(I->getOpcode(), I->getType(), 1211 LI->getPointerAddressSpace(), I); 1226 Type *SrcTy = I->getOperand(0)->getType(); 1227 return getCastInstrCost(I->getOpcode(), I->getType(), SrcTy, I); 1227 return getCastInstrCost(I->getOpcode(), I->getType(), SrcTy, I); 1227 return getCastInstrCost(I->getOpcode(), I->getType(), SrcTy, I); 1230 const ExtractElementInst * EEI = cast<ExtractElementInst>(I); 1231 ConstantInt *CI = dyn_cast<ConstantInt>(I->getOperand(1)); 1273 return getVectorInstrCost(I->getOpcode(), 1277 const InsertElementInst * IE = cast<InsertElementInst>(I); 1282 return getVectorInstrCost(I->getOpcode(), 1288 const ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); 1321 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {