Home
last modified time | relevance | path

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

/external/llvm/include/llvm/
DInstrTypes.h412 Instruction::CastOps, ///< The opcode of the cast instruction
425 Instruction::CastOps, ///< The opcode for the cast instruction
539 static Instruction::CastOps getCastOpcode(
570 Instruction::CastOps Opcode, ///< Opcode of cast
588 Instruction::CastOps firstOpcode, ///< Opcode of first cast
589 Instruction::CastOps secondOpcode, ///< Opcode of second cast
597 Instruction::CastOps getOpcode() const {
598 return Instruction::CastOps(Instruction::getOpcode());
610 static bool castIsValid(Instruction::CastOps op, Value *S, Type *DstTy);
DInstruction.h324 enum CastOps { enum
/external/llvm/lib/Transforms/Instrumentation/
DProfilingUtils.cpp74 Instruction::CastOps opcode = CastInst::getCastOpcode(AI, false, ArgVTy, in InsertProfilingInitCall()
88 Instruction::CastOps opcode; in InsertProfilingInitCall()
/external/llvm/utils/
Dllvm.grm61 CastOps ::= trunc | zext | sext | fptrunc | fpext | bitcast |
243 ConstExpr::= CastOps "(" ^ ConstVal to Types ^ ")"
392 | CastOps ResolvedVal to Types
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp228 static Instruction::CastOps
240 Instruction::CastOps firstOp = Instruction::CastOps(CI->getOpcode()); in isEliminableCastPair()
241 Instruction::CastOps secondOp = Instruction::CastOps(opcode); in isEliminableCastPair()
255 return Instruction::CastOps(Res); in isEliminableCastPair()
262 bool InstCombiner::ShouldOptimizeCast(Instruction::CastOps opc, const Value *V, in ShouldOptimizeCast()
289 if (Instruction::CastOps opc = in commonCastTransforms()
DInstCombineCalls.cpp1068 Instruction::CastOps opcode = CastInst::getCastOpcode(*AI, in transformConstExprCastCall()
1094 Instruction::CastOps opcode = in transformConstExprCastCall()
1138 Instruction::CastOps opcode = in transformConstExprCastCall()
DInstCombine.h211 bool ShouldOptimizeCast(Instruction::CastOps opcode,const Value *V,
DInstCombineLoadStoreAlloca.cpp316 Instruction::CastOps opcode = Instruction::BitCast; in InstCombineStoreToCast()
DInstCombineSelect.cpp138 return CastInst::Create(Instruction::CastOps(TI->getOpcode()), NewSI, in FoldSelectOpOp()
DInstCombineAndOrXor.cpp2132 Instruction::CastOps Opcode = Op0C->getOpcode(); in visitXor()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpander.h149 Instruction::CastOps Op,
/external/llvm/lib/VMCore/
DInstructions.cpp1765 bool CastInst::isNoopCast(Instruction::CastOps Opcode, in isNoopCast()
1807 Instruction::CastOps firstOp, Instruction::CastOps secondOp, in isEliminableCastPair()
1970 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create()
1993 CastInst *CastInst::Create(Instruction::CastOps op, Value *S, Type *Ty, in Create()
2096 Instruction::CastOps opcode = in CreateIntegerCast()
2110 Instruction::CastOps opcode = in CreateIntegerCast()
2124 Instruction::CastOps opcode = in CreateFPCast()
2137 Instruction::CastOps opcode = in CreateFPCast()
2213 Instruction::CastOps
2323 CastInst::castIsValid(Instruction::CastOps op, Value *S, Type *DstTy) { in castIsValid()
DConstants.cpp1212 Instruction::CastOps opc, Constant *C, Type *Ty) { in getFoldedCast()
1228 Instruction::CastOps opc = Instruction::CastOps(oc); in getCast()
1286 Instruction::CastOps opcode = in getIntegerCast()
1300 Instruction::CastOps opcode = in getFPCast()
DConstantFold.cpp90 Instruction::CastOps firstOp = Instruction::CastOps(Op->getOpcode()); in foldConstantCastPair()
91 Instruction::CastOps secondOp = Instruction::CastOps(opc); in foldConstantCastPair()
DCore.cpp2019 return wrap(unwrap(B)->CreateCast(Instruction::CastOps(Op), unwrap(Val), in LLVMBuildCast()
/external/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h234 GenericValue executeCastOperation(Instruction::CastOps opcode, Value *SrcVal,
/external/llvm/include/llvm/Support/
DConstantFolder.h143 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
DTargetFolder.h155 Constant *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
DNoFolder.h202 Instruction *CreateCast(Instruction::CastOps Op, Constant *C, in CreateCast()
DIRBuilder.h977 Value *CreateCast(Instruction::CastOps Op, Value *V, Type *DestTy,
/external/llvm/lib/AsmParser/
DLLParser.cpp2068 if (!CastInst::castIsValid((Instruction::CastOps)Opc, SrcVal, DestTy)) in ParseValID()
2072 ID.ConstantVal = ConstantExpr::getCast((Instruction::CastOps)Opc, in ParseValID()
3329 if (!CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy)) { in ParseCast()
3330 CastInst::castIsValid((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()
3335 Inst = CastInst::Create((Instruction::CastOps)Opc, Op, DestTy); in ParseCast()
/external/llvm/lib/Analysis/
DLint.cpp601 if (CastInst::isNoopCast(Instruction::CastOps(CE->getOpcode()), in findValueImpl()
DScalarEvolutionExpander.cpp30 Instruction::CastOps Op, in ReuseOrCreateCast()
66 Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false); in InsertNoopCastOfTo()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2167 I = CastInst::Create((Instruction::CastOps)Opc, Op, ResTy); in ParseFunctionBody()