Home
last modified time | relevance | path

Searched refs:isCast (Results 1 – 20 of 20) sorted by relevance

/external/llvm/include/llvm/IR/
DInstruction.h92 bool isCast() const { return isCast(getOpcode()); } in isCast() function
121 static inline bool isCast(unsigned OpCode) { in isCast() function
DInstrTypes.h625 return I->isCast();
DConstants.h980 bool isCast() const;
/external/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp217 if (CastInst->isCast()) in findMatInsertPt()
311 if (Inst->isCast()) in collectConstantCandidates()
333 if (!CastInst->isCast()) in collectConstantCandidates()
347 if (!ConstExpr->isCast()) in collectConstantCandidates()
492 assert(CastInst->isCast() && "Expected an cast instruction!"); in emitBaseConstants()
/external/llvm/lib/IR/
DIntrinsicInst.cpp36 if (CE->isCast()) in CastOperand()
DConstantFold.cpp80 assert(Op && Op->isCast() && "Can't fold cast of cast without a cast!"); in foldConstantCastPair()
82 assert(CastInst::isCast(opc) && "Invalid cast opcode"); in foldConstantCastPair()
528 if (CE->isCast()) { in ConstantFoldCastInstruction()
2069 if (CE->isCast() && Idxs.size() > 1 && Idx0->isNullValue()) { in ConstantFoldGetElementPtrImpl()
DConstantsContext.h429 if (Instruction::isCast(V.opcode))
DConstants.cpp1074 bool ConstantExpr::isCast() const { in isCast() function in ConstantExpr
1075 return Instruction::isCast(getOpcode()); in isCast()
1495 assert(Instruction::isCast(opc) && "opcode out of range"); in getCast()
DAsmWriter.cpp1033 if (CE->isCast()) { in WriteConstantInternal()
/external/llvm/lib/CodeGen/
DJumpInstrTables.cpp73 return !(CE->isCast() && isa<Function>(CE->getOperand(0))); in isIndirectCall()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp422 if (CE->isCast()) in visitLoadInst()
698 if (CE->isCast()) in visitStoreInst()
DInstCombineSelect.cpp153 if (TI->isCast()) { in FoldSelectOpOp()
/external/llvm/tools/bugpoint/
DExtractFunction.cpp251 if (CE->isCast()) in SplitStaticCtorDtor()
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp353 if (Instruction::isCast(Opcode)) { in remapConstantExpr()
DNVPTXISelLowering.cpp627 if (!CE->isCast()) in getArgumentAlignment()
/external/llvm/lib/Analysis/
DLint.cpp664 if (Instruction::isCast(CE->getOpcode())) { in findValueImpl()
/external/javassist/src/main/javassist/compiler/
DCodeGen.java899 boolean isCast) in invalidDim() argument
907 else if (isCast && srcDim == 0 && srcType == CLASS in invalidDim()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1089 if (Instruction::isCast(CE->getOpcode())) { in WriteConstants()
1238 if (Instruction::isCast(I.getOpcode())) { in WriteInstruction()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp332 if (CE->isCast()) in runStaticConstructorsDestructors()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp839 } else if (CE->isCast()) { in printConstant()