Home
last modified time | relevance | path

Searched refs:CastOps (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm/include/llvm/IR/
DInstrTypes.h410 Instruction::CastOps, ///< The opcode of the cast instruction
423 Instruction::CastOps, ///< The opcode for the cast instruction
543 static Instruction::CastOps getCastOpcode(
574 Instruction::CastOps Opcode, ///< Opcode of cast
597 Instruction::CastOps firstOpcode, ///< Opcode of first cast
598 Instruction::CastOps secondOpcode, ///< Opcode of second cast
608 Instruction::CastOps getOpcode() const {
609 return Instruction::CastOps(Instruction::getOpcode());
621 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
DInstruction.h419 enum CastOps { enum
DConstantFolder.h155 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
DNoFolder.h214 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
DIRBuilder.h1190 Value *CreateCast(Instruction::CastOps Op, Value *V, Type *DestTy,
/external/llvm/utils/
Dllvm.grm61 CastOps ::= trunc | zext | sext | fptrunc | fpext | bitcast |
244 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
393 | CastOps ResolvedVal to Types
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp236 static Instruction::CastOps
248 Instruction::CastOps firstOp = Instruction::CastOps(CI->getOpcode()); in isEliminableCastPair()
249 Instruction::CastOps secondOp = Instruction::CastOps(opcode); in isEliminableCastPair()
266 return Instruction::CastOps(Res); in isEliminableCastPair()
273 bool InstCombiner::ShouldOptimizeCast(Instruction::CastOps opc, const Value *V, in ShouldOptimizeCast()
300 if (Instruction::CastOps opc = in commonCastTransforms()
DInstCombine.h238 bool ShouldOptimizeCast(Instruction::CastOps opcode, const Value *V,
DInstCombineLoadStoreAlloca.cpp544 Instruction::CastOps opcode = Instruction::BitCast; in InstCombineStoreToCast()
DInstCombineSelect.cpp170 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in FoldSelectOpOp()
DInstCombineCalls.cpp1408 Instruction::CastOps opcode = in transformConstExprCastCall()
DInstCombineAndOrXor.cpp2292 Instruction::CastOps Opcode = Op0C->getOpcode(); in visitXor()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h202 Instruction::CastOps Op,
DTargetFolder.h167 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
/external/llvm/lib/IR/
DInstructions.cpp2095 bool CastInst::isNoopCast(Instruction::CastOps Opcode, in isNoopCast()
2157 Instruction::CastOps firstOp, Instruction::CastOps secondOp, in isEliminableCastPair()
2375 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create()
2397 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create()
2517 Instruction::CastOps opcode = in CreateIntegerCast()
2531 Instruction::CastOps opcode = in CreateIntegerCast()
2545 Instruction::CastOps opcode = in CreateFPCast()
2558 Instruction::CastOps opcode = in CreateFPCast()
2674 Instruction::CastOps
2778 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { in castIsValid()
DConstants.cpp1479 Instruction::CastOps opc, Constant *C, Type *Ty) { in getFoldedCast()
1494 Instruction::CastOps opc = Instruction::CastOps(oc); in getCast()
1568 Instruction::CastOps opcode = in getIntegerCast()
1582 Instruction::CastOps opcode = in getFPCast()
2847 return CastInst::Create((Instruction::CastOps)getOpcode(), in getAsInstruction()
DConstantFold.cpp87 Instruction::CastOps firstOp = Instruction::CastOps(Op->getOpcode()); in foldConstantCastPair()
88 Instruction::CastOps secondOp = Instruction::CastOps(opc); in foldConstantCastPair()
DCore.cpp2458 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(map_from_llvmopcode(Op)), unwrap(Val), in LLVMBuildCast()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp120 Builder.CreateCast((Instruction::CastOps)OpCode, in createReplacementInstr()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h246 GenericValue executeCastOperation(Instruction::CastOps opcode, Value *SrcVal,
/external/llvm/lib/Target/NVPTX/
DNVPTXGenericToNVVM.cpp354 return Builder.CreateCast(Instruction::CastOps(C->getOpcode()), in remapConstantExpr()
/external/llvm/lib/Analysis/
DLint.cpp665 if (CastInst::isNoopCast(Instruction::CastOps(CE->getOpcode()), in findValueImpl()
DScalarEvolutionExpander.cpp35 Instruction::CastOps Op, in ReuseOrCreateCast()
89 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); in InsertNoopCastOfTo()
DConstantFolding.cpp493 Instruction::CastOps Cast = Instruction::BitCast; in ConstantFoldLoadThroughBitcast()
/external/llvm/lib/AsmParser/
DLLParser.cpp2602 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
2606 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in ParseValID()
3929 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in ParseCast()
3930 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()
3935 Inst = CastInst::Create((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()

12